def kp(n):
     
    f = [0, 1]
     
     
    for i in range(2, n+1):
        f.append(f[i-1] + f[i-2])
    return f
n=int(input()) 
s = "o"*n
k = []
nu = kp(n)
for i in range(1,n+1):
    if i in nu:
        k.append("O")
    else:
        k+="o"
        
print("".join(k))