import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class Eleven_VJudge {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        try {
            int n = Integer.parseInt(br.readLine());
            int fibonacci[] = new int[2+n];
            fibonacci[0] =1;
            fibonacci[1] = 1;
            boolean vis[] = new boolean[4200];

            vis[1] = true;
            for(int i=2 ;i < n; i++){
                fibonacci[i] = fibonacci[i-1] + fibonacci[i-2];
                vis[fibonacci[i]] =true;
                if(fibonacci[i] >3000){
                    break;
                }
            }

            for(int i=1; i<= n; i++){
                if(vis[i]){
                    System.out.print("O");
                }else{
                    System.out.print("o");
                }
            }

        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
