import java.util.Scanner;
import java.util.ArrayList;
public class codeforces918A
{
	public static void main(String[] args)
	{
	    Scanner sc = new Scanner(System.in);
		ArrayList <Integer> arr = new ArrayList<Integer>();
		arr.add(1);
		arr.add(1);
		int i,ele=2,n=sc.nextInt();
		String s="";
		while(ele<=1000)
		{
		    arr.add(ele);
		    ele=arr.get(arr.size()-1)+arr.get(arr.size()-2);
		}
		for(i=0;i<n;i++)
		{
		    if(arr.contains(i+1))
		    s=s+'O';
		    else
		    s=s+'o';
		}
		System.out.print(s);
    }
}