Cost of the Repeated Remainder Loop

Company: Josh Technology_29sep

Difficulty: medium