#include <iostream>
using namespace std;
int main()
{
int n,m
cin >> n >> m;
if (n*m!=0)
if ((n-m)%10==0) cout << "*";
else cout << n+m;
else cout <<"@";
return 0;
}