#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < (n + 1) / 2; i++) {
    cout << (n - i) << " ";
    if (n - i == i + 1) break;
    cout << (i + 1) << " ";
  }
  return 0;
}
