# -*- coding: utf-8 -*-
"""
Created on Mon Jan 29 20:26:18 2018

@author: rohit
"""
a = [0]*16
a[0]= 1
a[1] = 1
for i in range(2,16):
    a[i] = a[i-1]+a[i-2]
n = int(input())
for i in range(1,n+1):
    if i in a:
        print('O',end='')
    else:
        print('o',end='')