(1 to 10000).map{x=>if(x.toString.split("").distinct.size==3)println(x)}