import java.util.LinkedList;
import java.util.Scanner;

public class _918A {
	public static String str = "";

	public static int fib(int n) {
		if (n == 1)
			return 1;
		else if (n == 2)
			return 1;
		else
			return fib(n - 1) + fib(n - 2);
	}

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		sc.close();
		LinkedList<Integer> l = new LinkedList<Integer>();
		int i = 1;
		while (fib(i) <= n) {
			l.add(fib(i));
			i++;
		}
		for (i = 1; i <= n; i++) {
			if (l.contains(i))
				str=str+"O";
			else
				str=str+"o";
		}
		System.out.println(str);
	}
}