CodeLab Academy 📞 9936 6696
← List Python · Level 3: Conditions (if) Code · 30 points ← #247 #249 →

#248. Is the last digit 2?

You get a positive integer n. Print `Yes` if its last digit is 2, otherwise `No`. ### Input One integer n. ### Output `Yes` or `No`.

Examples

Input
5802
Output
Yes
Input
7652
Output
Yes

💡 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!