#include using namespace std;int a[10];int main(){for(int& x:a)cin>>x;sort(a,a+10);cout<