Create solution_1504.cpp