#include <bits/stdc++.h>
using namespace std;
int dx[] = {1, -1, 0, 0, 1, 1, -1, -1};
int dy[] = {0, 0, 1, -1, -1, 1, 1, -1};
int biton(int n, int pos) { return n = n | (1 << pos); }
int bitoff(int n, int pos) { return n = n & ~(1 << pos); }
bool bitcheck(int n, int pos) { return (bool)(n & (1 << pos)); }
inline int nxt() {
  int a;
  scanf("%d", &a);
  return a;
}
inline long long int NXT() {
  long long int a;
  scanf("%lld", &a);
  return a;
}
template <typename T>
string NumberToString(T Number) {
  ostringstream second;
  second << Number;
  return second.str();
}
struct debugger {
  template <typename T>
  debugger& operator,(const T& v) {
    cerr << v << " ";
    return *this;
  }
} dbg;
int mark[10000];
int fib[1000];
int main() {
  ios_base::sync_with_stdio(0);
  fib[0] = 1;
  fib[1] = 1;
  mark[1] = 1;
  for (int i = 2;; i++) {
    fib[i] = fib[i - 1] + fib[i - 2];
    mark[fib[i]] = 1;
    if (fib[i] > 1005) break;
  }
  int n;
  cin >> n;
  string ans;
  for (int i = 1; i <= n; i++) {
    if (mark[i])
      ans += 'O';
    else
      ans += 'o';
  }
  cout << ans << endl;
}
