#include <bits/stdc++.h>
int main() {
  int n;
  int x, y;
  scanf("%d", &n);
  if (n == 1)
    printf("1\n");
  else {
    x = 1;
    y = n;
    while (x + 1 < y - 1) {
      printf("%d %d ", x, y);
      x++;
      y--;
    }
    if (x + 1 == y - 1)
      printf("%d %d %d\n", x, x + 2, x + 1);
    else
      printf("%d %d", x, x + 1);
  }
  return 0;
}
