#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, l, r;
  cin >> n;
  l = 1;
  r = n;
  int t = 1;
  while (l <= r) {
    t++;
    if (t % 2 == 0) {
      cout << l << ' ';
      l++;
    } else {
      cout << r << ' ';
      r--;
    }
  }
  cout << endl;
}
