clear; clc;

x = 21;
for y = 2 : x - 1
    disp("y = " + y);
    if mod(x, y) == 0
        disp("Not a prime.");
        break;
    end
end