Create UVA-12598.cpp