#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, pos = 1, i;
  bool w = 1;
  scanf("%I64d", &n);
  printf("%I64d", pos);
  printf(" ");
  for (i = n - 1; i > 0; i--) {
    if (w == 1) {
      pos = pos + i;
      w = 0;
    } else {
      pos = pos - i;
      w = 1;
    }
    printf("%I64d", pos);
    printf(" ");
  }
  printf("\n");
  return 0;
}
