# 入力された値を文字列で受け取る input = gets.chomp if input.length == 2 puts "Yes" else puts "No" end