#include"bits/stdc++.h" using namespace std; int i,A[10];main(){while(i<10)cin>>A[i++];sort(A,A+10);cout<