n = int(raw_input(''))
out = ''
for x in range(1, n+1, +1):
    if x == 0 or x == 1 or x == 2 or x == 3 or x == 5 or x == 8 or x == 13 or x == 21 or x == 34 or x == 55 or x == 89 or x == 144 or x == 233 or x == 377 or x == 610 or x == 987:
       out += 'O'
    else:
        out += 'o'
print out