a = 1
b = 1

fibo = []
fibo.append(1)
while (a < 100):
    if (a + b) > 100:
        break
    fibo.append(a + b)
    temp = a + b
    a = b
    b = temp

answer = ""

for i in range(1, 101):
    if i in fibo:
        answer += "O"
    else:
        answer += "o"

n = list(map(int, input().strip().split()))[0]

print(answer[:n])