import java.util.Scanner;

public class Cr459A {
	public static void main(String[] args) {
		Scanner s=new Scanner(System.in);
		
		int n=s.nextInt();
		
		int n1=1;
		int n2=1;
		int n3=1;
		
		StringBuilder sb=new StringBuilder();
		
		for(int i=1;i<=n;i++)
		{
			if(i==n1) {
				sb.append("O");
				n3=n1;
				n1+=n2;
				n2=n3;
			}
			else sb.append("o");
		}
		System.out.println(sb);
	}

}
