import java.util.*;
public class fi{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int n1=0,n2=1,cnt=3,n3,n,f=0;  
int[] a=new int[10000];
n=sc.nextInt();
int l=0;
for(int i=2;i<n+5;++i){    
n3=n1+n2; 
a[l]=n3;
l++;
n1=n2;    
n2=n3;    
} 

for(int j=1;j<=n;j++){
f=0;

for(int k=0;k<l;k++){
if(j==a[k])
f=1;
}

if(f==1)
System.out.print("O");
else
System.out.print("o");

}
}
}