#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
  scanf("%d", &n);
  int l = 1, r = n, b = 1;
  for (int i = 1; i <= n; i++) {
    if (b == 1)
      printf("%d ", l), ++l, b = 0;
    else
      printf("%d ", r), --r, b = 1;
  }
  return 0;
}
