Lucky 7

AtCoder
IDabc162_a
Time2000ms
Memory256MB
Difficulty
Given is a three-digit integer $N$. Does $N$ contain the digit $7$? If so, print `Yes`; otherwise, print `No`. ## Constraints * $100 \leq N \leq 999$ ## Input Input is given from Standard Input in the following format: $N$ [samples]
Samples
Input #1
117
Output #1
Yes

$117$ contains $7$ as its last digit.
Input #2
123
Output #2
No

$123$ does not contain the digit $7$.
Input #3
777
Output #3
Yes
API Response (JSON)
{
  "problem": {
    "name": "Lucky 7",
    "description": {
      "content": "Given is a three-digit integer $N$. Does $N$ contain the digit $7$? If so, print `Yes`; otherwise, print `No`.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc162_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Given is a three-digit integer $N$. Does $N$ contain the digit $7$?\nIf so, print `Yes`; otherwise, print `No`.\n\n## Constraints\n\n*   $100 \\leq N \\leq 999$\n\n## Input\n\nInput is given from Standard Input ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments