SRM401 Medium
Merge branch 'master' of https://github.com/nivin54/Topcoder