import java.util.*;
public class vjhfbjha {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int N = s.nextInt();
		int a = 1, b = 1;
		String name = "";
		for (int i=1; i<=N; i++) {
			while (a<i && b<i) {
				int temp = a;
				a = a+b;
				b = temp;
			}
			if (i == a || i == b) {
				name += "O";
			}else {
				name += "o";
			}
		}System.out.println(name);
	}
}