clear; clc;

% random integers
data = randi(100, 1, 5)
max = data(1);
for item = data(2 : end)
    if item > max
        max = item;
    end
end
max