a = []
n = int(input())
a.append(0)
a.append(1)
s = ""
b = False
x = 0
y = 1
for i in range(n + 1):
    a.append(x + y)
    z = y
    y += x
    x = z

for i in range(1, n + 1):
    for j in a:
        if i == j:
            s += "O"
            b = True
            break
    if b is False:
        s += "o"
    else:
        b = False
print(s)
