import math
def ch_f(x): 
    s = int(math.sqrt(x)) 
    return s*s == x
def ch_i(n):
    return ch_f(5*n*n + 4) or ch_f(5*n*n - 4)
s=''
for i in xrange(1,input()+1): 
     if ch_i(i):s+='O'
     else:s+='o'
print s
