#include <bits/stdc++.h>
using namespace std;
int n;
int a, b;
int main() {
  cin >> n;
  a = 1, b = n;
  while (a < b) {
    cout << a << " " << b << " ";
    a++;
    b--;
  }
  if (n % 2) {
    cout << (n / 2) + 1 << endl;
  }
  return 0;
}
