uva 100
100.cpp