import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Eleven {
	static int [] memo;
	public static void main(String[] args)throws Throwable {
		BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
		int num=Integer.parseInt(bf.readLine());
		memo=new int [num+1];
		for(int i=0;i<=num;i++)
			fib(i);
		Arrays.sort(memo);
		for(int i=1;i<=num;i++)
		{
			int a=Arrays.binarySearch(memo, i);
			if(a>=0)
				System.out.print('O');
			else
				System.out.print('o');
		}
	}
	static int fib(int i)
	{
		if(i==1 || i==2)
			return memo[i]=1;
		if(memo[i]!=-1)
			return memo[i];
		return memo[i]=fib(i-2)+fib(i-1);
	}
}
