import sys

s = sys.stdin.readline().split()
n = int(s[0])

l = ['o']*n


f = [1,1]

while f[-1] < 1000:
    f.append(f[-1]+f[-2])


f.pop(0)

for c in f:
    if c <= len(l):
        l[c-1] = 'O'
print ''.join(l)
