#include <bits/stdc++.h> using namespace std; int main() { int a[3]; for (auto &c : a) cin >> c; sort(a, a + 3); cout << a[0] << "->" << a[1] << "->" << a[2] << endl; return 0; }