#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int low = 1, high = n;
  for (int i = 0; i < n; i++) {
    if (i % 2) {
      printf("%d ", high);
      high--;
    } else {
      printf("%d ", low);
      low++;
    }
  }
  printf("\n");
  return 0;
}
