firstI = int(raw_input().strip())
name = ""
currentFib = 1;
lastFib = 0;

for i in xrange(firstI):
    if i+1 == currentFib+lastFib:
        name = name +"O"
        temp = currentFib
        currentFib = currentFib + lastFib
        lastFib = temp
    else:
        name = name +"o"

print name