Find Second Largest

Easy

📝 Description

Find the second largest number in a list

Input Format

A list of integers

Output Format

Second largest number

Constraints

List length ≥ 2 and ≤ 100

🔍 Sample Input

10 20 30 40 50
            

✅ Sample Output

40
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run