CodeLab Academy 📞 9936 6696
← List Python · Level 2: Arithmetic Code · 20 points ← #134 #136 →

#135. Four-digit number: thousands digit

You get a four-digit number. Find its **thousands digit**. ### Input One integer (1000 ≤ n ≤ 9999). ### Output One integer.

Examples

Input
5054
Output
5
Input
1420
Output
1

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!