Create uva10739.cpp