main(m,d,y){for(;~scanf("%s%s%s",d,&m,y);)printf("%s/%d/%s\n",y,"\x06\x05\x07\x0b\x0c\x02\x08\x09\x03 \x04\x01\n"[m/81%15],d);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page