# cook your dish here
def fib(num):
    if num == 1:
        return [1]
    elif num == 2:
        return [1,2]
    else:
        res = [0 for i in range(num+1)]
        res[0], res[1] = 1, 1
        for i in range(2, num+1):
            res[i] = res[i-1] + res[i-2]
        return res
        
n = int(input())

a = fib(n)
ans =''
for i in range(n-1):
    if i+1 in a:
        ans += 'O'
    else:
        ans += 'o'
if n in a:
    ans += 'O'
else:
    ans += 'o'
            
print(ans)
        
    
    
    