l = []

s = ""

n = int(input())
a, b = 1,1
l.append(a)
l.append(b)
count = 0
while count < n-2:
    c = a + b
    a = b
    b = c
    count+=1
    if c < n:
        l.append(c)

for i in range(1,n):
    if i in l:
    #print(type(i))
        s = s+"O"
    else:
        s = s+"o"
#print(l2)
print(s)
