read a x=10#${a/.} y=1000 f=x%m+y%m==0?x/=m,y/=m,f:x+y printf \\10$[m=2,f,m=5,f&1?x&1?3:2:1]\ $[f*3/2+(x