t = %w(p r i m e).join require t puts gets.to_i.send(t + "?") ? "YES" : "NO"