This is the problem set for the 2003-2004 Asia Regional Programming Contest, Bombay site held on Sunday December 7, 2003. It contains 9 problems labelled A through I printed on attached pages numbered 2 through 10.
Input is to be read from standard input for all problems. Output should be sent to standard output for all problems.