/*package whatever //do not write package name here */

import java.io.*;
import java.util.*;
public class Main {
	public static void main (String[] args) {
	//	System.out.println("GfG!");
	Scanner scan=new Scanner(System.in);
	int n=scan.nextInt();
	char[] arr=new char[n+1];
	int a=0;
	int b=1;
	int c=0;
	arr[1]='O';
	for(int i=1;c<=n;i++)
	{
	  c=a+b;
	  if(c<=n)
	 arr[c]='O';
	  a=b;
	  b=c;
	}
	for(int i=0;i<n;i++)
	{
	    if(arr[i]==0)
	    arr[i]='o';
	}
for(int i=1;i<=n;i++)
	{
	    System.out.print(arr[i]);
	}	
	}
}