#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[10008], k = 1;
  cin >> n;
  for (int i = 0; i < n; i += 2) a[i] = k++;
  for (int i = 1; i < n; i += 2) a[i] = n - a[i - 1] + 1;
  for (int i = 0; i < n; i++) cout << a[i] << " ";
  return 0;
}
