Sponsored
Use these hints if you're stuck. Try solving on your own first.
Try simulating the process until either of the two integers is zero.
Count the number of operations done.
Solve with full IDE support and test cases