: M 10 mod ;: N10000 1001 ?DOi M i 10 / M i 100 / M i 1000 / M + + +i overBEGIN/mod swap dup 0=WHILEdrop 2dup = if i . endifoverREPEAT2drop dropLOOP ;N
Standard input is empty
2401 4913 5832
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!