#abc348a. A - Penalty Kick
A - Penalty Kick
Score: points
问题陈述
高桥将在足球比赛中进行 次点球射门。
对于第 次点球射门,如果 是 的倍数,他将失败;否则他将成功。
请打印出他的点球射门结果。
以上为大语言模型 kimi 翻译,仅供参考。
Problem Statement
Takahashi will have penalty kicks in a soccer match.
For the -th penalty kick, he will fail if is a multiple of , and succeed otherwise.
Print the results of his penalty kicks.
Constraints
- All inputs are integers.
Input
The input is given from Standard Input in the following format:
Output
Print a string of length representing the results of Takahashi's penalty kicks. The -th character should be o
if Takahashi succeeds in the -th penalty kick, and x
if he fails.
Sample Input 1
7
Sample Output 1
ooxooxo
Takahashi fails the third and sixth penalty kicks, so the third and sixth characters will be x
.
Sample Input 2
9
Sample Output 2
ooxooxoox