It is September 9 in Japan now. You are given a two-digit integer N. Answer the…
- User
It is September 9 in Japan now.
You are given a two-digit integer N. Answer the question: Is 9 contained in the decimal notation of N?
Constraints
- 10≤N≤99 Input
Input is given from Standard Input in the following format:
N
Output
If 9 is contained in the decimal notation of N, print
Yes; if not, printNo.Examples
Input
29
Output
Yes
Input
72
Output
No
Input
91
Output
Yes
Assistant
pythonn = int(input()) print("Yes" if n // 10 == 9 or n % 10 == 9 else "No")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.