#include int A[4],n,m; int main(){ while(n++<10){ std::cin>>A[3]; m=3; while(m){ if(A[m]>A[--m]){ std::swap(A[m+1],A[m]); } } } std::cout<