import collections
n = int(input())
dp = [0, 1] + [0] * 50
for i in range(2, 52):
    dp[i] = dp[i - 1] + dp[i - 2]
d = collections.Counter(dp)
ans = ""
for i in range(1, n + 1):
    if i in d:
        ans += "O"
    else:
        ans += 'o'
print(ans)


