#!/usr/bin/env python
# -*- coding: utf-8 -*-

def solve():
    n = int(input())
    ans = list("o" * n)

    al = [1, 1]
    a, b = 1, 1
    while a <= 1000:
        a, b = a + b, a
        al.append(a)
    for i in range(n):
        if (i + 1) in al:
            ans[i] = "O"
    print("".join(ans))

if __name__=="__main__":
    solve()
