
import java.util.Scanner;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int[] arr = new int[105];
        int[] mp = new int[1005];
        arr[0] = 1;
        arr[1] = 1;
        mp[1] = 1;
        for(int i=2; ; i++){
               arr[i] = arr[i-1] + arr[i-2];
            if(arr[i] > 1000) break;
            mp[arr[i]] = 1;
        }
           int n = s.nextInt();
        
        for(int i=1; i<=n; i++){
            if(mp[i] == 1){
                {
                System.out.print("O");
            }
            }
            else 
                System.out.print("o");
        
    }
}
}
       
