from fractions import gcd
from math import factorial, ceil, sqrt, atan2, log
from itertools import *
import string
import copy
import random
import bisect
from decimal import *
def id_generator(size=20, chars=string.digits):
    return ''.join(random.choice(chars) for _ in range(size))
 
def mp():
    return map(int,str(raw_input()).split())

s=[1,1]
for i in range(100):
	s+=[s[i]+s[i+1]]

n=input()
ans=''
for i in range(n):
	if (i+1) in s:
		ans+='O'
	else:
		ans+='o'
print ans