# cook your dish here
def fib(num):
    if num == 1:
        return [1]
    elif num == 2:
        return [1,2]
    res = [0 for i in range(num)]
    res[1], res[2] = 1, 1
    for i in range(3, num):
        res[i] = res[i-1] + res[i-2]
    return res[1:]
        
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)
        
    
    
    