clear; clc;

a = 15;
b = 4;
r = a;

r = r - b;
while r >= b
    r = r - b;
end

r