#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long n;
  cin >> n;
  for (long long i = 1, j = n; i <= j; i++, j--) {
    cout << i << " ";
    if (i != j) cout << j << " ";
  }
  return 0;
}
