Create uva10651.cpp