n = int(input())
if n == 1:
    print("O")
else:
    name = ['o']*n
    seq = [1,2,3]
    while seq[len(seq)-1] <= n:
        seq.append(seq[len(seq)-1]+seq[len(seq)-2])
    seq.pop()
    for i in seq:
        name[i-1] = 'O'
    ans = "".join(name)
    print(ans)
