Edge Checker

AtCoder
IDabc240_a
Time2000ms
Memory256MB
Difficulty
In the figure shown in the image below, are the points numbered $a$ and $b$ directly connected by a line segment? ![image](https://img.atcoder.jp/ghi/04f0c8fb8aabbbb4db7aa5d6f8557de3.png) ## Constraints * $1 \leq a \lt b \leq 10$ * $a$ and $b$ are integers. ## Input Input is given from Standard Input in the following format: $a$ $b$ [samples]
Samples
Input #1
4 5
Output #1
Yes

In the figure shown in the Problem Statement, the points numbered $4$ and $5$ are directly connected by a line segment.  
Thus, `Yes` should be printed.
Input #2
3 5
Output #2
No

In the figure shown in the Problem Statement, the points numbered $3$ and $5$ are not directly connected by a line segment.  
Thus, `No` should be printed.
Input #3
1 10
Output #3
Yes
API Response (JSON)
{
  "problem": {
    "name": "Edge Checker",
    "description": {
      "content": "In the figure shown in the image below, are the points numbered $a$ and $b$ directly connected by a line segment? ![image](https://img.atcoder.jp/ghi/04f0c8fb8aabbbb4db7aa5d6f8557de3.png)",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc240_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "In the figure shown in the image below, are the points numbered $a$ and $b$ directly connected by a line segment?\n![image](https://img.atcoder.jp/ghi/04f0c8fb8aabbbb4db7aa5d6f8557de3.png)\n\n## Constrai...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments