# -*- coding:utf-8 -*-
#[n, m] = [int(x) for x in raw_input().split()]

def dg(n):
    if n==1:
        return 1
    elif n==2:
        return 1
    else:
        return dg(n-1)+dg(n-2)

def some_func():
    """
    """
    n = input()
    cache = [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987,]
    lit = []
    for i in range(1,n+1):
        if i in cache:
            lit.append('O')
        else:
            lit.append('o')
    return ''.join(lit)





if __name__ == '__main__':
    print some_func()

