#include <iostream>
#include <string>
#include <algorithm>
#include <cstdlib>
#include <cctype>
using namespace std;
int main()
{
string s1("xy");
string s2("yy");
int a = 0; //counts
int b = 0;
for(int i = 0; i < s1.length(); i++)
if(isalnum(s1.at(i)))
a += tolower(s1.at(i));
for(int i = 0; i < s2.length(); i++)
if(isalnum(s2.at(i)))
b += tolower(s2.at(i));
cout<<boolalpha<<(a == b)<<endl<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8YWxnb3JpdGhtPgojaW5jbHVkZSA8Y3N0ZGxpYj4KI2luY2x1ZGUgPGNjdHlwZT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewoKCXN0cmluZyBzMSgieHkiKTsKCXN0cmluZyBzMigieXkiKTsKCglpbnQgYSA9IDA7CS8vY291bnRzCglpbnQgYiA9IDA7CgoJZm9yKGludCBpID0gMDsgaSA8IHMxLmxlbmd0aCgpOyBpKyspCgkJaWYoaXNhbG51bShzMS5hdChpKSkpCgkJCWEgKz0gdG9sb3dlcihzMS5hdChpKSk7Cglmb3IoaW50IGkgPSAwOyBpIDwgczIubGVuZ3RoKCk7IGkrKykKCQlpZihpc2FsbnVtKHMyLmF0KGkpKSkKCQkJYiArPSB0b2xvd2VyKHMyLmF0KGkpKTsKCQoJY291dDw8Ym9vbGFscGhhPDwoYSA9PSBiKTw8ZW5kbDw8ZW5kbDsKCglyZXR1cm4gMDsKfQ==