Sequence of Strings

AtCoder
IDabc284_a
Time2000ms
Memory256MB
Difficulty
You are given $N$ strings $S_1,S_2,\ldots,S_N$ in this order. Print $S_N,S_{N-1},\ldots,S_1$ in this order. ## Constraints * $1\leq N \leq 10$ * $N$ is an integer. * $S_i$ is a string of length between $1$ and $10$, inclusive, consisting of lowercase English letters, uppercase English letters, and digits. ## Input The input is given from Standard Input in the following format: $N$ $S_1$ $S_2$ $\vdots$ $S_N$ [samples]
Samples
Input #1
3
Takahashi
Aoki
Snuke
Output #1
Snuke
Aoki
Takahashi

We have $N=3$, $S_1=$ `Takahashi`, $S_2=$ `Aoki`, and $S_3=$ `Snuke`.
Thus, you should print `Snuke`, `Aoki`, and `Takahashi` in this order.
Input #2
4
2023
Year
New
Happy
Output #2
Happy
New
Year
2023

The given strings may contain digits.
API Response (JSON)
{
  "problem": {
    "name": "Sequence of Strings",
    "description": {
      "content": "You are given $N$ strings $S_1,S_2,\\ldots,S_N$ in this order. Print $S_N,S_{N-1},\\ldots,S_1$ in this order.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc284_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given $N$ strings $S_1,S_2,\\ldots,S_N$ in this order.\nPrint $S_N,S_{N-1},\\ldots,S_1$ in this order.\n\n## Constraints\n\n*   $1\\leq N \\leq 10$\n*   $N$ is an integer.\n*   $S_i$ is a string of lengt...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments