#include<iomanip>
#include<cmath>
#include<cmath>
using namespace std;
int main()
{
int a, b, c, d;
cin >> a >> b >> c;
if (a>b) {
d=a;
a=b;
b=d;
if (b>c) {
d=c;
b=c;
c=d;
}
cout << a << " " << b << " " << c << endl;
}
else {if (b>c) {
d=c;
b=c;
c=d;
}
cout << a << " " << b << " " << c << endl;
}
return 0;
}
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main()
{
int a;
cin >> a;
if (a>100 || a<0) cout << "Invalid" << endl;
else {
if (a<60) cout << "Failed" << endl;}
if (59<a && a<101) {
double b;
b=(a-50)/10;
cout << fixed << setprecision(1);
cout << b << endl;}
return 0;
}
#include<cmath>
#include<cmath>
using namespace std;
int main()
{
int a, b, c, d;
cin >> a >> b >> c;
if (a>b) {
d=a;
a=b;
b=d;
if (b>c) {
d=c;
b=c;
c=d;
}
cout << a << " " << b << " " << c << endl;
}
else {if (b>c) {
d=c;
b=c;
c=d;
}
cout << a << " " << b << " " << c << endl;
}
return 0;
}
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main()
{
int a;
cin >> a;
if (a>100 || a<0) cout << "Invalid" << endl;
else {
if (a<60) cout << "Failed" << endl;}
if (59<a && a<101) {
double b;
b=(a-50)/10;
cout << fixed << setprecision(1);
cout << b << endl;}
return 0;
}