n = int(input())
a = list((1,1))
i = 1
cur = 1
n += 1
while cur < n:
    cur = a[i - 1] + a[i]
    a.append(cur)
    i += 1

for i in range(1,n):
    flag = False
    for j in range(len(a)):
        if a[j] == i:
            flag = True
            print("O", end='')
    if flag == False:
        print("o", end='')
