#include <bits/stdc++.h>
bool first = true;
void print(int i) {
  if (first) {
    printf("%d", i);
    first = false;
  } else {
    printf(" %d", i);
  }
}
int main(int argc, char const *argv[]) {
  int n;
  scanf("%d", &n);
  int i = 1, j = n;
  if (n & 1) {
    print(i);
    i++;
  }
  while (i < j) {
    print(j);
    print(i);
    i++;
    j--;
  }
  printf("\n");
}
