# 入力された値を文字列で受け取る input = gets.chomp input.length == 2 ? puts("Yes") : puts("No")