/*
Since we know it's not for school but he just needs this to do his
important work,
I decided to write a nice converter for him. Enjoy:
*/
#include<stdio.h>
#include<stdlib.h>
int main(int q0,char*q1??(??))??<long q2,q3;int q4=1;typedef struct q5
??<int q6;char*q7;int q8;char*q9;??>q10;q10 q11??(??)=??<
#ifdef q12
??<1000000,"\74\115\55\142\141\162\76",900000,
"\74\103\115\55\142\141\162\76"??>,??<500000,
"\74\104\55\142\141\162\76",400000,"\74\103\104\55\142\141\162\
\76"??>,??<100000,"\74\103\55\142\141\162\76",90000,
"\74\130\103\55\142\141\162\76"??>,??<50000,
"\74\114\55\142\141\162\76",40000,"\74\130\114\55\142\141\162\
\76"??>,??<10000,"\74\130\55\142\141\162\76",9000,
"\74\111\130\55\142\141\162\76"??>,??<5000,"\74\126\55\142\141\162\76"
,4000,"\74\111\126\55\142\141\162\76"??>,
#endif
??<1000,"\115",900,"\103\115"??>,??<500,"\104",400,"\103\104"??>,??<
100,"\103",90,"\130\103"??>,??<50,"\114",40,"\130\114"??>,??<10,"\130"
,9,"\111\130"??>,??<5,"\126",4,"\111\126"??>,??<1,"\111",1,"\111"??>
??>;int q13=0;if(q0==2)q2=atol(q1??(1??));else??<if(q0==3)??<q2=atol(
q1??(1??));q4=0;??>else??<printf("\n\105\156\164\145\162\40\141\156\40"
"\151\156\164\145\147\145\162\40\166\141\154\165\145\72\40"
);scanf("\45\154\144",&q2);??>??>q3=q2;printf("\n\45\154\144\40\75\40"
,q3);do??<while(q2>=q11??(q13??).q6)??<printf("\45\163",q11??(q13??).
q7);q2-=q11??(q13??).q6;??>if(q4)if(q2>=q11??(q13??).q8)??<printf(
"\45\163",q11??(q13??).q9);q2-=q11??(q13??).q8;??>q13++;??>while(q2>0)
;return(0);??>