Too Many Requests

AtCoder
IDabc429_a
Time2000ms
Memory256MB
Difficulty
You are given positive integers $N$ and $M$. Print $N$ lines. The $i$\-th line $(1\leq i\leq N)$ should contain `OK` if $i\leq M$, and `Too Many Requests` otherwise. ## Constraints * $1 \leq N \leq 10$ * $1 \leq M \leq 10$ * $N$ and $M$ are integers. ## Input The input is given from Standard Input in the following format: $N$ $M$ [samples]
Samples
Input #1
5 3
Output #1
OK
OK
OK
Too Many Requests
Too Many Requests

Since $N=5$ and $M=3$,  
print `OK` on the $1$st, $2$nd, and $3$rd lines,  
and print `Too Many Requests` on the $4$th and $5$th lines.
Input #2
3 5
Output #2
OK
OK
OK

Since $N=3$ and $M=5$, print `OK` on the $1$st, $2$nd, and $3$rd lines.
API Response (JSON)
{
  "problem": {
    "name": "Too Many Requests",
    "description": {
      "content": "You are given positive integers $N$ and $M$.   Print $N$ lines.   The $i$\\-th line $(1\\leq i\\leq N)$ should contain `OK` if $i\\leq M$, and `Too Many Requests` otherwise.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc429_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given positive integers $N$ and $M$.  \nPrint $N$ lines.  \nThe $i$\\-th line $(1\\leq i\\leq N)$ should contain `OK` if $i\\leq M$, and `Too Many Requests` otherwise.\n\n## Constraints\n\n*   $1 \\leq N...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments