import java.util.*;
public class Eleven {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		char[] res = new char[n];
		ArrayList<Integer> A = new ArrayList<>(); 
		int[] fib = new int[1001];
		
		fib[0] = 1;
		fib[1] = 1;
		
		for(int i = 2; i < 1001; i++) {
			fib[i] = fib[i-1] + fib[i-2];
		}
		for(int i = 0; i < 1001; i++) {
			A.add(fib[i]);
		}
		for(int i = 0; i < n; i++) {
			if(A.contains(i+1)) {
				res[i] = 'O';
			}
			else {
				res[i] = 'o';
			}
		}
		for(int i = 0; i < n; i++) {
			System.out.print(res[i]);
		}
		
	}


}
