fibonicci=[1,1]
first=1
second=1
while(1):
    if first+second >1000:
        break
    fibonicci.append(first+second)
    first = second
    second = fibonicci[-1]

n = int(input())
new = ['o']*n
for i in fibonicci:
    if i>=n+1:
        break
    new[i-1]='O'
print(''.join(new))