#include <bits/stdc++.h>
int main(void) {
  int n;
  scanf("%d", &n);
  int L = 1, R = n, t = 1;
  while (L <= R) {
    if (t) {
      printf("%d ", L++);
    } else
      printf("%d ", R--);
    t = 1 - t;
  }
  puts("");
  return 0;
}
