n = int(input())
l = []
l1 = []
for i in range(1, n+1):
    if i <= 3:
        l1.append(i)
        l.append('O')
    else:
        if i == l1[-1] + l1[-2]:
            l1.append(i)
            l.append('O')
        else:
            l.append('o')
print(''.join(l))