
n = int(input())
s = ""
mylist = []
a, b = 0, 1
while a<=n:
    mylist.append(a)
    a, b = b, a+b
#print(mylist)
for i in range(1,n+1):
    if mylist.count(i):
        s += 'O'
    else:
        s += 'o'
print(s)        
