PhonePe interview question

even loop and run loop