using namespace std;
bool checkParity(int a, int b, int c) {if ((a % 2 == b % 2) && (a % 2 == c % 2)) {return true;} else {return false;}}
int main() {int num1, num2, num3;
}
using namespace std;
bool checkParity(int a, int b, int c) {
if ((a % 2 == b % 2) && (a % 2 == c % 2)) {
return true;
} else {
return false;
}
}
int main() {
cout << "Enter three numbers: ";int num1, num2, num3;
cin >> num1 >> num2 >> num3;
if (checkParity(num1, num2, num3)) {
cout << "true" << endl;
} else {
cout << "false" << endl;
}
return 0;
}