val a=readLine grouped 2 map(_.product.toBinaryString.replaceAll("0*$"," "*13))toSeq;for(i<-0 to 13)println((""/:a)(_+_(i)).split(" *$")(0))