Code Chef

### CodeChef - Smallest Possible Whole Number

You are given two integers N and K. You may perform the following operation any number of times (including zero): change N to N−K, i.e. subtract K from N. Find the smallest non-negative integer value of N you can obtain this way. Input * The first line of the