n = int(input())
def isFibonacci(n):
    if(n == 1):
        return True
    x = 1
    first = 1
    second = 1
    while(n > x):
        x = first + second
        first = second
        second = x
        if(n == x):
            return True
    return False
    
for i in range(1,n+1):
    if(isFibonacci(i)):
        print('O',end = '')
    else:
        print('o',end = '')
        

    