Create 504.5.22

http://community.topcoder.com/stat?c=problem_statement&pm=11096