import java.util.Scanner;
import java.lang.*;
public class Main {
	public static boolean O(int [] a,int x)
	{
		boolean b=false;
		loop:for(int i=1;i<=16;i++)
		{
			if(x==a[i])
			{
				b=true;
				break loop;
			}
			else
			b=false;
		}
		
		return b;
	}
			
			
	public static void main(String [] args)
	{
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int [] a = {0,1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987};
		boolean c;
		for(int i=1;i<=n;i++)
		{
			c = O(a,i);
			if(c==true)
			System.out.print("O");
			else
			System.out.print("o");
		}
		
		
			
		
	}

}

