'''****** Задание ******** *Кто быстрее? ''' p_speed = int(input()) v_speed = int(input()) if p_speed > v_speed: print('Петя') else: print('Вася')