Sum of Magical Numbers

Company: Myntra_7may

Difficulty: medium