All submissions for this problem are available.
In India every state is flooded with engg. colleges. So, state government's have decided to change their state's name according to the number of colleges in their
state. Some one has developed a software which guess first letter for their states name when fed with input as total number of engg. colleges in that state.
Maximum number of colleges can be 9999999999 in any state and minimum is 1. If a state has no engg. college then software terminates and doesn't output any
further result. But the person who developed the software has forgot the logic he applied in that code. You need to guess the logic so that further
development can take place.
Each line of input consists of a number of colleges (maximum 10 digits) to be tested. when 0 is encountered as input program terminates
Ouput consists of an alphabet for each input number.
Input: 2134757888 123987 122455 35677 0 Output: I E K L
|Time Limit:||1.16129 sec|
|Source Limit:||50000 Bytes|
|Languages:||ADA, ASM, BASH, BF, C, C99 strict, CAML, CLOJ, CLPS, COB, CPP 4.3.2, CPP 6.3, CPP14, CS2, D, ERL, FORT, FS, GO, HASK, ICK, ICON, JAVA, JS, kotlin, LISP clisp, LISP sbcl, LUA, NEM, NICE, NODEJS, PAS fpc, PAS gpc, PERL, PERL6, PHP, PIKE, PRLG, PYPY, PYTH, PYTH 3.5, RUBY, rust, SCALA, SCM chicken, SCM guile, SCM qobi, ST, swift, TEXT, WSPC|
Fetching successful submissions
If you are still having problems, see a sample solution here.