import java.util.Scanner;

public class eleven {
	public static void main(String args[]) {

		Scanner sc=new Scanner(System.in);
		int n =sc.nextInt();
		char ch[]=new char[n+1];
		int f1=1;
		int f2=1;
		
		ch[1]='O';
		
		for(int j=2;j<n+1;j++) {
			ch[j]='o';
		}
		
		for(int i=1;i<n+1;i++) {
			int x=f1+f2;
			f1=f2;
			f2=x;
			if(x<n+1)
			ch[x]='O';
			}
		
		String s=String.valueOf(ch);
		System.out.println(s);

}
}
