dimension m(4)
Read(*,*)m
Do 100 I=1,3
Do 100 j =I+1,4
If m(I)>m(j) then
K=m(I)
M(I)=m (j)
M(j)=k
Endif
100 Continue
Write(*,*)m
Stop
End