def fibo(f):
    res = []
    res = [0, 1, 1]
    if f > 2:
        for i in range(2, f-1):
            sum = res[i] + res[i-1]
            res.append(sum)
    return res


if __name__ == '__main__':
    fib = []
    name = ""
    n = int(input())
    fib = fibo(n)
    for i in range(1, n+1):
        if i in fib:
            name += "O"
        else:
            name += "o"
    print(name)
