Unchecked solution to ICPC Problem E