//package home;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Eleven {
	static int[]fib;
	public static void fib() {
		fib[0]=1;
		if(fib.length>1)
		fib[1]=1;
		for(int i=2;i<fib.length;i++) {
			fib[i]=fib[i-1]+fib[i-2];
		}
	}
	public static void main(String[]args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader (System.in));
		int n=Integer.parseInt(br.readLine());
		fib=new int[n];
		fib();
//		System.out.println(Arrays.toString(fib));
		String ans="";
		for(int i=0;i<n;i++) {
			if(Arrays.binarySearch(fib, i+1)>=0) {
				ans+="O";
			}
			else {
				ans+="o";
			}
		}
		System.out.println(ans);
	}
}
