HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


50907 - Second Largest

Guest
• Review clarifications (3)

Section problems

• 50942 - Win or Lose
• 50894 - ASCII Codes
• 50886 - Even or Odd
• 50897 - Prime Number
• 50910 - Flipping Coins
• 50950 - Biggest Number
• 50901 - Sum of Cubes-1
• 50975 - Cinema Tickets
• 50907 - Second Largest
• 50957 - Divisible by 3
• 50898 - Draw the Pattern
• 50959 - Draw the Pattern
• 50961 - Order of 3 Runner
• 50963 - Append Two Arrays
• 50893 - Print All Numbers
• 50968 - Number of Letters
• 50888 - Extracting Digits

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Second Largest

Three numbers A, B and C are the inputs. Write a program to find second largest among three numbers.

Input

The first line contains three integers A, B and C.

Output

Display the second largest among A, B and C.

Constraints

  • 1 A,B,C 1000000

Sample Input1:

Sample Input2:

120 11 400

10213 312 10

Sample  Output1:

Sample  Output2:

120

312

 

Для отправки решений необходимо выполнить вход.

www.contester.ru