import java.util.*;


public class ElevenName {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		ArrayList<Integer> fibonacci = new ArrayList<Integer>();
		fibonacci.add(1);
		fibonacci.add(2);
		fibonacci.add(3);
		int x = 2;
		int y = 3;
		int sum = 3;
		while(sum <= 1000) {
			sum  = x + y;
			x = y;
			y = sum;
			fibonacci.add(sum);
		}
		String s = "";
		for(int i = 1; i  <= n; i++) {
			if(fibonacci.contains(i)) {
				s += "O";
			}
			else{
				s += "o";
			}
		}
		System.out.println(s);
		sc.close();
	}
	
}
