from math import sqrt
def isPerfectSquare(x):
    s = int(sqrt(x))
    return s*s == x

def isFibonacci(n):
    return (isPerfectSquare(5*(n**2) + 4) or isPerfectSquare(5*(n**2) - 4) )


n = int(input())
output = ""
for i in range(1,n+1):
    if isFibonacci(i):
        output+='O'
    else:
        output+='o'

print(output)

