# 多條件運算式 (5-5a.py)
num_a = int(input('Number? '))
num_b = int(input('Number? '))

if num_a < 0 and num_b < 0: 
    print('both negative')