No submissions yet

Submit your solution to display here.

Please login/signup to submit your solution.
Loading...

Input

3 5 16 20

Expected Output

Wrapped: 5 Wrapped: 0 Wrapped: 4