import java.util.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;

 
public class eleven {
	static class FastReader
    {
        BufferedReader br;
        StringTokenizer st;
 
        public FastReader()
        {
            br = new BufferedReader(new
                     InputStreamReader(System.in));
        }
 
        String next()
        {
            while (st == null || !st.hasMoreElements())
            {
                try
                {
                    st = new StringTokenizer(br.readLine());
                }
                catch (IOException  e)
                {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }
 
        int nextInt()
        {
            return Integer.parseInt(next());
        }
 
        long nextLong()
        {
            return Long.parseLong(next());
        }
 
        double nextDouble()
        {
            return Double.parseDouble(next());
        }
 
        String nextLine()
        {
            String str = "";
            try
            {
                str = br.readLine();
            }
            catch (IOException e)
            {
                e.printStackTrace();
            }
            return str;
        }
    }
 
	
	
	
	public static void main(String[]args)
    {
		FastReader s=new FastReader();
		int n = s.nextInt();
        
        
        
        ArrayList<Integer> h = new ArrayList<Integer>();
        h.add(1);
        h.add(1);
        for(int i=3;i<20;i++){
        	int sum=h.get(i-3)+h.get(i-2);
        	h.add(sum);
        }
        
        
        
        for(int i=1;i<=n;i++){
        	boolean f1=false;
        	for(int j=1;j<19;j++){
        		if(i==h.get(j)){
        			f1=true;
        		}
        	}
        	if(f1)
        	   System.out.print("O");
        	else
        	   System.out.print("o");
        	
        		
        }
        
        
                                    
		
		
		
    }
}
