""" ***E-property of Saket Saumya ***
            IIITM

"""
from __future__ import division
from fractions import Fraction
import math
#import os
#import random
#import re
#from sys import stdin, stdout
#from collections import Counter,deque,OrderedDict,defaultdict
#from itertools import permutations,ansduct,combinations
#from heapq import heapify,heappush,heappop,heappushpop,heapify,heapreplace,nlargest,nsmallest
#import numpy as np
#from operator import mul

MOD=10**9+7
INF=float('+inf')

def si():
	return str(stdin.readline())
def ii():
    return int(raw_input())
def mi():
    return map(int, raw_input().split())
def li():
    return [int(i) for i in raw_input().split()]
def debug(x):
	return stdout.write(str(x))
def limul(list):
	return eval('*'.join(str(item) for item in list))

"-----------------------------------------------"
def main():
    n=ii()
    fib=[0]*n
    fib[0]=1
    fib[0]=1
    for i in range(2,n):
        fib[i]=fib[i-1]+fib[i-2]
    ans=[0]*n
    for i in range(n):
        if (i+1) in fib:
            ans[i]='O'
        else:
            ans[i]='o'
    print( ''.join(str(e) for e in ans))




main()
