Create UVA10496.java