Penalty Kick

AtCoder
IDabc348_a
Time2000ms
Memory256MB
Difficulty
Takahashi will have $N$ penalty kicks in a soccer match. For the $i$\-th penalty kick, he will fail if $i$ is a multiple of $3$, and succeed otherwise. Print the results of his penalty kicks. ## Constraints * $1 \leq N \leq 100$ * All inputs are integers. ## Input The input is given from Standard Input in the following format: $N$ [samples]
Samples
Input #1
7
Output #1
ooxooxo

Takahashi fails the third and sixth penalty kicks, so the third and sixth characters will be `x`.
Input #2
9
Output #2
ooxooxoox
API Response (JSON)
{
  "problem": {
    "name": "Penalty Kick",
    "description": {
      "content": "Takahashi will have $N$ penalty kicks in a soccer match. For the $i$\\-th penalty kick, he will fail if $i$ is a multiple of $3$, and succeed otherwise. Print the results of his penalty kicks.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc348_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Takahashi will have $N$ penalty kicks in a soccer match.\nFor the $i$\\-th penalty kick, he will fail if $i$ is a multiple of $3$, and succeed otherwise.\nPrint the results of his penalty kicks.\n\n## Cons...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments