import std.stdio; import std.string; void main(){ if(readln.chomp.length==2){ writeln("Yes"); }else{ writeln("No"); } }