import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;

public class ElevenA459 {
	public static void main(String[] args) throws NumberFormatException, IOException {	
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
		boolean[] fib=new boolean[1001];
		int a=1, b=1, t;
		while(b<=1000) {
			fib[b]=true;
			t=a+b;
			a=b;
			b=t;
		}
		int n=Integer.parseInt(in.readLine());
		for(int i=1;i<=n;i++) {
			if(fib[i])
				out.print('O');
			else
				out.print('o');
		}
		in.close();
		out.close();
	}
}
