#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
int n[N];
int main() {
  int x;
  cin >> x;
  for (int i = 0; i < x / 2; i++) {
    cout << i + 1 << " " << x - (i) << " ";
  }
  if (x & 1) cout << (x / 2) + 1;
}
