def fi(a,c,n):
    string = ""
    first = 1
    second = 1
    fi = []
    fi.append(first)
    fi.append(second)
    while second <= n:
        num = first + second
        first = second
        second = num
        fi.append(num)
    for i in range(1,n+1):
        if i in fi:
            string += "O"
        else:
            string += "o"
    return string
n = int(raw_input())
print fi(1,1,n)