def fibonacci(n):
    seq = []
    for i in xrange(n+2):
        if i <=2:
            seq.append(1)
        else:
            seq.append(seq[i-1]+seq[i-2])
    ans=range(n+1)
    for i in xrange(1,n+1):
        if i in seq:
            ans[i] = 'O'
        else:
            ans[i] = 'o'

    return ''.join(map(str,ans[1:]))
if __name__ == '__main__':
    n = input()
    print fibonacci(n)
