Solution: 5499770 | CodeChef