import java.util.*;
public class Main {
 public static void main(String []args)
 {
	 Scanner ob=new Scanner(System.in);
	int n=ob.nextInt();
	int[] a1=new int[n+1];
	int a=0,t;
	int b=1;
	a1[a]=1;
	a1[b]=1;
	while(b<=n)
	{
		a1[b]=1;
		t=a;
		a=b;
		b=t+b;
	}
	char[] c=new char[n];
	for(int i=0;i<n;i++)
	{
		if(a1[i+1]!=0)
		{
			c[i]='O';
		}
		else
		{
			c[i]='o';
		}
	}
	String s=new String(c);
	System.out.println(s);
	
 } 
}