#include <iostream>
using namespace std;

int main() {
int i;
double d;
cin >> d;
i = d;
if (i != d)
    cout << "error" << endl;
	
}