a=[1,2,3,5,8,13,21,34,55,89,144,233,377,610,987]
n=int(input())
for i in range(n):
    if(i==1 or i==2 or i==3 or i==5 or i==8 or i==13 or i==21 or i==34 or i==55 or i==89 or i==144 or i==233 or i==377 or i==610 or i==987):
        print('O',end='')
    else:
        print('o',end='')