#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-9;
int main() {
  int n;
  scanf("%d", &n);
  printf("1");
  int le = 2;
  int ri = n;
  while (le <= ri) {
    printf(" %d", ri);
    ri--;
    if (le > ri) break;
    printf(" %d", le);
    le++;
  }
  printf("\n");
  return 0;
}
