puts gets.strip.chars.map.with_index{|c,i|i.odd?? c.match?(' '):c.match?(/[a-z]/)}.all?? "Yes":"No"