//package javaapplication9;
import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
        // TODO code application logic here
       Scanner sc=new Scanner(System.in);
       int n,i,j=2,k=3;
       n=sc.nextInt();
       System.out.print("O");
       if(n>1){
           System.out.print("O");
       }
       for(i=3;i<=n;i++){
           if(i==k){
               k=j+k;
               j=i;
               System.out.print("O");
           }
           else System.out.print("o");
       }
       System.out.println();
    }
}