#stdin.readline()
#int(stdin.readline())
#stdout.write()
#raw_input()
#map(int,raw_input().split())
#map(int,stdin.readline().split())
def f():
    from sys import stdin, stdout
    n=int(stdin.readline())
    a=1
    b=1
    d={}
    d[a]=1
    d[b]=1
    while a<=1000:
        a,b=b,a+b
        d[b]=1
    s=["o"]*n
    for i in xrange(n):
        try:
            t=d[i+1]
            s[i]=s[i].upper()
        except KeyError:
            pass
    print "".join(s)
def g():
    from sys import stdin, stdout
    n,m=map(int,stdin.readline().split())
    d={}
    for _ in xrange(n):
        x,y=map(str,stdin.readline().split())
        d[y]=x
    for _ in xrange(m):
        x,y=map(str,stdin.readline().split())
        print x,y,"#"+d[y[:len(y)-1]]
def main():
    f()
if __name__ == "__main__":
    main()