import java.util.*;

public class asdfsfasdf {
    
    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int n = Integer.parseInt(sc.nextLine());
        
        String f = "";
        
        for(int i = 0; i < n; i++) {
            
            f += "o";
            
        }
        
        int[] fib = new int[16];
        
        fib[0] = 1;
        fib[1] = 1;
        
        for(int i = 2; i < 16; i++) {
            
            fib[i] = fib[i-1] + fib[i-2];
            
        }
        
        for(int i : fib) {
            
            if(i < n-1) {
                
                String[] ff = new String[n];
                
                for(int j = 0; j < n; j++) {
                    
                    ff[j] = f.substring(j, j+1);
                    
                }
                
                ff[i+1] = "O";
                
                f = "";
                
                for(int k = 0; k < n; k++) {
                    
                    f += ff[k];
                    
                }
            
            }
            
        }
        
        System.out.println(f);
        
        sc.close();
        
    }
    
}