import java.util.Scanner;

public class A {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		char[] Names=new char[n];
		if(n<3)
		{
			for(int i = 0; i < n; i++)
				Names[i]='O';
			System.out.println(Names);
		}
		else
		{
			int f0=1, f1=1, t=f0+f1;
			for(int i = 0; i<n; i++)
			{
				Names[i]='o';
			}
			while(true)
			{
				
				Names[f0-1]='O';
				Names[f1-1]='O';
				t=f0+f1;
				if(t>n)
					break;
				Names[t-1]='O';
				f0=f1;
				f1=t;
			}
			System.out.println(Names);
		}
	}
}
