a = gets print (a.length == 2 ? "Yes" : "No")