import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.CharBuffer;
import java.util.Arrays;
import java.util.StringTokenizer;

public class main{

	public static void main(String[] args) throws IOException {
		
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st;
		String reader = input.readLine();
		st = new StringTokenizer(reader);
		int num = Integer.parseInt(st.nextToken());
		System.out.println(fib(num));
		
		
	}
	static String fib(int n){
		int f[] = new int[n+1];
	    int i;
	    f[1] = 1;
	    f[2] = 1;
	    char[] name = new char[n];	
	    Arrays.fill(name, 'o');
	    name[0]= 'O';
	    
	    for (i = 3; i <= n; i++){
	        f[i] = f[i-1] + f[i-2];
	        if(f[i] <= n-1) {
	        	name[f[i]-1] = 'O';
	        	}
	        
	        }
	    CharBuffer real = CharBuffer.wrap(name);
	    
	    return real.toString();
	    }
}

	  		    			    				 		 	   	 	