Second Largest

Easy

📝 Description

Find second largest number in list

Input Format

Space-separated list of numbers

Output Format

Second largest number

Constraints

List size ≥ 2

🔍 Sample Input

1 5 3 9 2
            

✅ Sample Output

5
            

Code Editor

Please login to run and submit code.

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