Create uva11584.cpp