n=(int)(input())
prev=1;
curr=2;
nxt=2;
strg='O'
if(n>1):
  for i in range (2,n+1):
    
    if (i==nxt):
      strg=strg+"O";
      nxt=curr+prev;
      prev=curr;
      curr=nxt;
      #print(i)
    else:
      strg=strg+'o';
  print(strg)
else:
  print(strg)
# OOOoOooOooooOoo
# OOOoOooOooooOoo