n=int(input())
a=1;b=1
count=0;tool=1
if n==1 or n==2:
    print("O"*n)
else:
    while(count<=n):
        count=a+b
        if count==n:
            print('O'*n)
            tool=0
            break
        b=count
        a=b
if (tool==1):
    print("o"*n)
        
