import java.util.*;

public class Eleven {

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