# 0 => グー # 1 => パー # 2 => チョキ input = gets.split(' ') b, c = input answer = if b == c 'Yes' else 'No' end puts answer