Rotate

AtCoder
IDabc197_a
Time2000ms
Memory256MB
Difficulty
Given is a string $S$ of length $3$. Move the first character of $S$ to the end of $S$ and print the resulting string $S'$. ## Constraints * $S$ is a string of length $3$ consisting of lowercase English letters. ## Input Input is given from Standard Input in the following format: $S$ [samples]
Samples
Input #1
abc
Output #1
bca

Moving the first character `a` of the string `abc` results in `bca`.
Input #2
aab
Output #2
aba
API Response (JSON)
{
  "problem": {
    "name": "Rotate",
    "description": {
      "content": "Given is a string $S$ of length $3$.   Move the first character of $S$ to the end of $S$ and print the resulting string $S'$.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc197_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Given is a string $S$ of length $3$.  \nMove the first character of $S$ to the end of $S$ and print the resulting string $S'$.\n\n## Constraints\n\n*   $S$ is a string of length $3$ consisting of lowercase...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments