Submission of a practice problem

http://www.hackerearth.com/problem/algorithm/who-wants-to-be-a-millionai
re-7/