| CodeRams Practice Problem Archive |
|---|
| Finished |
You consider a string to be a question if its last character is a question mark. Given a string, figure out whether or not it is a question.
The only line of input contains a single string $$$s$$$.
If the given string is a question (if it has a question mark on the end), output "YES" (no quotes). Otherwise, output "NO" (no quotes).
Welcome to the CodeRams contest?
YES
We hope you like the problems!
NO
Good luck today
NO
| Name |
|---|


