#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int c = 0;
  for (int i = 0; i < n; i++) {
    if (c == 0) {
      cout << (i * 0.5 + 1) << endl;
      c = 1;
    } else if (c == 1) {
      cout << n - ((i - 1) * 0.5) << endl;
      c = 0;
    }
  }
}
