#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int f = 1, x = 0;
  char ch;
  do {
    ch = getchar();
    if (ch == '-') f = -1LL;
  } while (ch < '0' || ch > '9');
  do {
    x = x * 10 + ch - '0';
    ch = getchar();
  } while (ch >= '0' && ch <= '9');
  return f * x;
}
template <class T>
inline void chmax(T &a, T b) {
  if (a < b) a = b;
}
template <class T>
inline void chmin(T &a, T b) {
  if (a > b) a = b;
}
inline void swap(int &a, int &b) {
  int c = a;
  a = b;
  b = c;
}
using namespace std;
using namespace std;
const int N = 12333;
int a[N];
map<int, int> vis;
int main() {
  int n = read();
  a[1] = 1;
  a[2] = 1;
  for (int i = (3); i <= (17); ++i) a[i] = a[i - 1] + a[i - 2];
  for (int i = (1); i <= (n); ++i) vis[a[i]] = 1;
  for (int i = (1); i <= (n); ++i) {
    if (vis[i]) {
      putchar('O');
    } else
      putchar('o');
  }
  return 0;
}
