N = int(input())
fibo = [0]*1001
fibo[0] = 1
fibo[1] = 2
for i in range(2,1001):
    fibo[i]=fibo[i-1]+fibo[i-2]
res = []
for i in range(N):
    if i+1 in fibo: res.append('O')
    else: res.append('o')
print(''.join(res))


