import java.util.Scanner;

public class aedhf {
	static int d=3;
	static int as=2;
	static int df ;
	static StringBuilder str;
	static String b = "000" ;
public static void main(String args[]) {
	Scanner scn= new Scanner(System.in);
	int a = scn.nextInt();
	
	for (int s=3;s<a;s++) {
		b= b+"o";
	}
	str =new StringBuilder(b);
	for(;d+as<=a;) {
		str.setCharAt(d+as-1,'O');
		df=as;
		as =d;
		d= d+df;
		
	}
	System.out.println(str);
}
}
