A - September 9 Editorial /

Time Limit: 2 sec / Memory Limit: 256 MB

配点 : 100100

問題文

今、日本は 9999 日です。 二桁の整数 NN が与えられるので、十進法で NN99 が含まれるか答えてください。

制約

  • 10N9910≦N≦99

入力

入力は以下の形式で標準入力から与えられる。

NN

出力

99 が含まれるとき Yes 、含まれないとき No を出力せよ。


入力例 1Copy

Copy
29

出力例 1Copy

Copy
Yes

2929 の一の位は 99 です。


入力例 2Copy

Copy
72

出力例 2Copy

Copy
No

727299 は含まれません。


入力例 3Copy

Copy
91

出力例 3Copy

Copy
Yes

Score : 100100 points

Problem Statement

It is September 99 in Japan now.

You are given a two-digit integer NN. Answer the question: Is 99 contained in the decimal notation of NN?

Constraints

  • 10N9910≤N≤99

Input

Input is given from Standard Input in the following format:

NN

Output

If 99 is contained in the decimal notation of NN, print Yes; if not, print No.


Sample Input 1Copy

Copy
29

Sample Output 1Copy

Copy
Yes

The one's digit of 2929 is 99.


Sample Input 2Copy

Copy
72

Sample Output 2Copy

Copy
No

7272 does not contain 99.


Sample Input 3Copy

Copy
91

Sample Output 3Copy

Copy
Yes


2025-03-15 (Sat)
23:54:11 +00:00