Deepak and gautam

problem: https://hack.codingblocks.com/app/practice/1/115/problem

code: https://ide.codingblocks.com/s/226360