September 9

AtCoder
IDabc073_a
Time2000ms
Memory256MB
Difficulty
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$ [samples]
Samples
Input #1
29
Output #1
Yes

The one's digit of $29$ is $9$.
Input #2
72
Output #2
No

$72$ does not contain $9$.
Input #3
91
Output #3
Yes
API Response (JSON)
{
  "problem": {
    "name": "September 9",
    "description": {
      "content": "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$?",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc073_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "It is September $9$ in Japan now.\nYou are given a two-digit integer $N$. Answer the question: Is $9$ contained in the decimal notation of $N$?\n\n## Constraints\n\n*   $10≤N≤99$\n\n## Input\n\nInput is given ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments