Jasper Yu says to YSITD
scanf("%1d%1d.......%1d", x1, x2, x3......., x12)