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


public class Codechef
{
    
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		Scanner s=new Scanner(System.in);
int n=s.nextInt();
Set<Integer> hs=new HashSet<Integer>();
hs.add(1);
int a=1;
int b=1;
int c=0;
int j=0;
while(j!=1000){
    c=a+b;
    a=b;
    b=c;
    hs.add(c);
    j++;
}StringBuffer sb=new StringBuffer();
for(int i=1;i<=n;i++){
    if(hs.contains(i)){
        sb.append("O");
    }else{
        sb.append("o");
    }
}System.out.println(sb);
}
}
