n = int(input())
li = [1]
a,b = 1,1
for _ in range(14):
    k = b
    b += a
    a = k
    li.append(b)
res = 'o'*n
for i in li:
    if i <= n:
        res = res[:(i-1)] + 'O' + res[i:] 
    else:
        break
print(res)