#!/usr/bin/env python3
from sys import stdin, stdout

def rint():
    return map(int, stdin.readline().split())
#lines = stdin.readlines()


f = {
1,
1,
2,
3,
5,
8,
13,
21,
34,
55,
89,
144,
233,
377,
610,
987}

n = int(input())
ans = []
for i in range(1,n+1):
    if i in f:
        ans.append("O")
    else:
        ans.append("o")

print(''.join(ans))
