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

public class abc {
	public static void main(String args[]) {
		Scanner sc=new Scanner (System.in);
		int n=sc.nextInt();
		char[] c=new char[n];
		Arrays.fill(c, 'o');
		int x=1,y=1,z;
		while(y<=n) {
			c[y-1]='O';
			z=x+y;
			x=y;
			y=z;
		}
		String s = new String(c);
		System.out.println(s);
	}
}
