#include <iostream>
#include <cmath>
using namespace std;
int main()
{
float x, y;
cout << "vvedite dva rasstoyania, pervoe v km, vtoroe v footah";
cin >> x;
cin >> y;
if ((x * 1000) > (y * 1000 * 0.305))
{
cout << "naimenshee rasstoyanie = v footah " << y << "\n";
}
else if ((x * 1000) < (y * 1000 * 0.305))
{
cout << "naimenshee rasstoyanie = v km " << x << "\n";
}
else
{
cout << "rastoyania ravni" << endl;
}
return 0;
}