import sys
#import pandas as pd
#import numpy as np
#from collections import OrderedDict

f = sys.stdin
#f = open('Eleven.txt')
n = int(f.readline())
a, b = 0, 1
ans = ["o"] * n
while True:
    a, b = b, a + b
    if a > n:
        break
    ans[a - 1] = 'O'
print "".join(ans)
#f.close()
