Update uva127.cpp