#include <iostream>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <cstring>

using namespace std;

int main()
{
	int A,B,sum;
	sum=A+B;
	if(sum>=10){cout << "error" << endl;}
	else{cout << sum << endl;}
	return 0;
}