

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;

public class Round459 {
	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;
        }
    }
	static FastReader in=new FastReader();
	public static void main(String[] args)
	{
		solveA();
	}
	private static void solveA() {
		// TODO Auto-generated method stub
		int n=in.nextInt();
		long[] arr=new long[21];
		arr[1]=1;
		arr[2]=1;
		HashSet<Integer> set=new HashSet<Integer>();
		set.add(1);
		for(int i=3;i<=20;i++)
		{
			arr[i]=arr[i-1]+arr[i-2];
			set.add((int) arr[i]);
		}
		StringBuffer sb=new StringBuffer();
		for(int i=1;i<=n;i++)
		{
			if(set.contains(i))
			{
				sb.append('O');
			}
			else
			{
				sb.append('o');
			}
		}
		System.out.println(sb);
		//System.out.println(arr[20]);
	}

}
