Masala #QBJ8LKHCKX
Max son
Sizga N soni beriladi va keyingi N ta qatorda 2 tadan son kiritiladi va ulardan eng kattasini toping.(Massivdan foydalanish mumkin emas va albatta max dan:) )
INPUT.TXT kirish faylining birinchi qatorida bitta manfiy bo'lmagan butun N son berilgan ikkinchi qatorida manfiy bo'lmagan butun A va B sonlari berilgan.
OUTPUT.TXT chiqish faylining yagona satrida shu sonlarning eng kattasini toping.
# | input.txt | output.txt |
---|---|---|
1 |
5 1 2 8 9 7 6 9 1 12 5 |
12 |