#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long left = n / 2, right = n / 2, i;
  cout << (n / 2) + 1 << " ";
  for (i = 0; i < ((n - 1) / 2); i += 1) {
    left -= 1;
    right += 1;
    cout << left + 1 << " " << right + 1 << " ";
  }
  if (n % 2 == 0) cout << "1";
  return 0;
}
