#include <iostream>
using namespace std;
int main()
{
int a, b, i;
cin >> a >> b;
cout << (float)((a+b)/2) << endl;
if (a>b) cout << a << endl;
else cout << b << endl;
if (a%2==0 && b%2==0) cout << "PARE" << endl;
else cout << "NU PARE" << endl;
cout << a%10+b%10 << endl;
return 0;
}