i=1 sum=0 while i⩽50 do: input Xi sum=sum + Xi i=i+1 endwhile output sum stop
Is that pseudocode okay? I\'m not sure about the Xi par