#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int i, n, x, y;
  cin >> n;
  x = 1;
  y = n;
  for (i = 1; i <= n; i++) {
    if (i % 2 == 1) {
      cout << x << " ";
      x++;
    } else {
      cout << y << " ";
      y--;
    }
  }
}
