n = int(input())
a = [0] * 1000
a[1] = 1
a[2] = 1
i=3
while(a[i-1]<1000):
    a[i] = a[i-1]+a[i-2]
    i = i+1
for j in range (1,n+1):
    temp = 0
    for k in range (1,i):
        if a[k] == j:
            print("O",end='')
            temp = 1
            break
    if temp == 0:
        print("o",end='')