
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;

/**
 *
 * @author aag
 */
public class Eleven {

    public static void main(String[] args) throws Exception {
        Eleven template = new Eleven();
        template.solve();
        
    }

    void solve() throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw = new PrintWriter(System.out);
        String str = "";
        while ((str = br.readLine()) != null) {
            pw.println(getResult(Integer.parseInt(str.trim())));
        }
        br.close();
        pw.close();
    }

    String getResult(int times) {
        String result = "";
        int prev = 1;
        int current = 1;
        while (true) {
            if (current > times) {
                for (int i = prev; i < times; i++) {
                    result += "o";
                }
                break;
            }
            for (int i = 1; i < current - prev; i++) {
                result += "o";
            }
            result += "O";
            int currentFib = prev + current;
            prev = current;
            current = currentFib;
        }

        return result;
    }
}
