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

public class Main
{
	static class FastReader
    {
        BufferedReader br;
        StringTokenizer st;

        public FastReader()
        {
            br = new BufferedReader(new
                     InputStreamReader(System.in));
        }

        String next()
        {
            while (st == null || !st.hasMoreElements())
            {
                try
                {
                    st = new StringTokenizer(br.readLine());
                }
                catch (IOException  e)
                {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt()
        {
            return Integer.parseInt(next());
        }

        long nextLong()
        {
            return Long.parseLong(next());
        }

        double nextDouble()
        {
            return Double.parseDouble(next());
        }

        String nextLine()
        {
            String str = "";
            try
            {
                str = br.readLine();
            }
            catch (IOException e)
            {
                e.printStackTrace();
            }
            return str;
        }
    }

	public static void main (String[] args)
	{
		FastReader reader = new FastReader();
		int numbers = reader.nextInt();
		char[] name = new char[numbers+2];

		for (int i=0; i<numbers; i++)
			name[i] = 'o';

		int[] array = new int[numbers+2];
		array[0] = 1;
		array[1] = 1;
		name[0] = 'O';
		name[1] = 'O';

		for (int j=2; j<numbers+2; j++)
		{
			array[j] = array[j-1] + array[j-2];

			if (array[j] > numbers)
				break;
			name[array[j]-1] = 'O';
		}

		for (int i=0; i<numbers; i++)
			System.out.print (name[i]);
	}
}
