def main():
        n=input()
        k=1
        l=[1]
        for i in xrange(1,16):
            l.append(k)
            k=l[i-1]+l[i]
        j=['o']*1000
        for i in l[1:]:
            j[i-1]='O'
        print "".join(j[:n])
                           
main() 