memo = {}

def GetFib(n):
    if n in memo:
        return memo[n]
    if n==1 or n==2:
        return 1
    return GetFib(n-1)+GetFib(n-2)

n = int(raw_input())

name=''

for i in range(1,n+1):
    if i not in memo.keys():
        memo[i] = GetFib(i)

for i in range(1,n+1):
    if i in memo.values():
        name += 'O'
    else:
        name += 'o'

print name
