n=int(input())
memo=[0]*n
def fibo(n:int):
    global memo
    if memo[n]!=0:
        return memo[n]

    if n<=1:
        return n

    else:
        result = (fibo(n-1)+fibo(n-2))
        memo[n]=result
        return result

fib_series=[]
for i in range(1,n):
    fib_series.append(fibo(i))

ans=["o"]*n

for i in fib_series:
    if i<=n:
        ans[i-1]="O"
    else:
        break
print(''.join(ans))

    