def main():
    fibonacci = [1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597]
    n = int(input())
    s = ['o'] * n

    i = 0
    while fibonacci[i] <= n:
        s[fibonacci[i] - 1] = 'O'
        i += 1

    print(''.join(s))


if __name__ == '__main__':
    main()
