clear all;
format long;
% 

% INPUT
N = 50;
x = zeros(50,1);

for j=1:1:N
    x(j) = 1/j;
end

SUM = 0;
for j=1:1:N
    SUM = SUM + x(j);
end

% OUTPUT
disp('The sum of this sequence is:')
disp(SUM)