CF918A.Eleven
普及/提高-
通过率:0%
AC君温馨提醒
该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。
题目描述
Eleven wants to choose a new name for herself. As a bunch of geeks, her friends suggested an algorithm to choose a name for her. Eleven wants her name to have exactly n characters.
Her friend suggested that her name should only consist of uppercase and lowercase letters 'O'. More precisely, they suggested that the i -th letter of her name should be 'O' (uppercase) if i is a member of Fibonacci sequence, and 'o' (lowercase) otherwise. The letters in the name are numbered from 1 to n . Fibonacci sequence is the sequence f where
- f1=1 ,
- f2=1 ,
- fn=fn−2+fn−1 ( n>2 ).
As her friends are too young to know what Fibonacci sequence is, they asked you to help Eleven determine her new name.
输入格式
The first and only line of input contains an integer n ( 1<=n<=1000 ).
输出格式
Print Eleven's new name on the first and only line of output.
输入输出样例
输入#1
8
输出#1
OOOoOooO
输入#2
15
输出#2
OOOoOooOooooOoo