d = list()
def Fib():
    d.append(0)
    d.append(1)
    for i in range(2,1001):
        d.append(d[i-2] + d[i-1])
if __name__ == '__main__':
    Fib()
    s = ""
    n = int(input())
    for i in range(1,n+1):
        if i in d:
            s += "O"
        else:
            s += "o"
    print(s)
