n = int(input())
list_ = 1001 *[0]
def fib ():
    list_[0] = 1
    list_[1] = 1
    list_[2] = 1
    for i in range(3,1001):
        list_[i] = list_[i - 1] + list_[i - 2]

fib()
for i in range(1,n+1):
    if i in list_:
        print('O',end ='')
    else:
        print('o',end ='')
