eolymp
bolt
Try our new interface for solving problems
Məsələlər

Who has the highest grade?

Who has the highest grade?

Petryk, Marichka, and Olynka have just got their grades. They decided to play a game: the winner is a person who got the highest grade. Please help them to figure out who is the winner. \InputFile The first line contains three integers $p$, $m$, $o$ ($1 \leq p, m, o \leq 12$) --- the grades of Petryk, Marichka, and Olenka. It is guaranteed that all grades are different. \OutputFile Print out <<\t{Petryk}>> if Petryk has the highest grade; print out <<\t{Marichka}>> if Marichka has the highest grade; otherwise, print out <<\t{Olenka}>>.
Zaman məhdudiyyəti 1 saniyə
Yaddaşı istafadə məhdudiyyəti 256 MiB
Giriş verilənləri #1
8 10 12
Çıxış verilənləri #1
Olenka
Giriş verilənləri #2
7 9 3
Çıxış verilənləri #2
Marichka
Müəllif Roman Derkach
Mənbə Ukrainian Olympiad in Informatics 2020/2021, I stage