import java.util.Arrays;
import java.util.Scanner;

public class test {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] fib = new int[N];
		int f1 = 1;
		int f2 = 1;
		fib[0] = 1;
		for(int i = 1; i < N; i++) {
			int temp = f2;
			f2 = f1+f2;
			f1 = temp;
			fib[i] = f2;
		}
		String line = "";
		hi:
		for(int i = 1; i <= N; i++) {
			for(int j = 0; j < N; j++) {
				if(fib[j] == i) {
					line += "O";
					continue hi;
				}
			}
			line += "o";
		}
		System.out.println(line);
	}
}
