SRM 482 - div2 L1 [recursion]