import java.util.*;
import java.lang.*;
import java.io.*;

public class Test
{
	public static void main (String[] args) throws Exception
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String name="";
		int n = Integer.parseInt(br.readLine());
		int f1=1,f2=2;
		if(n>=1)
			name += "O";
		if(n>=2)
			name += "O";
		int sum;
		int i;
		f2=2;
		for(i=3;i<=n;i++)
		{
			sum =  f1+f2;
			if(sum<n)
			{
				for(;i<sum;i++)
				name += "o";
			}
			else
			{
				for(;i<=n && i!=sum;i++)
				name += "o";
			}
			if(i==sum)
			{
				name += "O";
				//i++;
			}
			f1 = f2;
			f2 = sum;
		}
		System.out.println(name);
	}
}