math_score=100
english_score=100

# if (a==b && b==c)
if math_score >=90 and english_score >=90:
    print('Perfect')

math_score=100
english_score=50
# if (a==b || b==c)
if math_score >=80 or english_score >=90:
    print('Oh')
