print((len(set(eval(input())))%2*'Yes'or'No'))
print((len({*eval(input())})%2*'Yes'or'No'))
print((len(set(eval(input()))) % 2 * "Yes" or "No"))

print((len({*eval(input())}) % 2 * "Yes" or "No"))

-print((len(set(eval(input()))) % 2 * "Yes" or "No")) +print((len({*eval(input())}) % 2 * "Yes" or "No"))