#include <iostream>
using namespace std;
void main()
{
	float z,p;
	char od;
		cout << "Vvedit chyslove znachennay:\n";
		cin >> z;
		cout << "Vkagit odynyci: i - inches(dujmy), s - santymetry:\n";
		cin >> od;
		switch (od)
		{
		case 'i': p = z*2.54; cout << "Velychyna stanovyt " << p << " santymetriv" << "\n"; break;
		case 's': p = z/2.54; cout << "Velychyna stanovyt " << p << " duymiv" << "\n"; break;
		default: cout << "Nekorektni odynyci" << "\n";
		}
}