#include <bits/stdc++.h>
using namespace std;
const long long int inf = 1e18;
const int N = 1e5 + 5;
bool cmp(pair<int, int> a, pair<int, int> b) {
  return (a.first - b.first) < (a.second - b.second);
}
void solve() {
  int n;
  cin >> n;
  vector<int> v(n);
  int i = 0;
  int l = 1, r = n;
  while (l < r) {
    v[i] = l, v[i + 1] = r;
    l++, r--;
    i += 2;
  }
  if (n & 1) v[n - 1] = l;
  for (auto i : v) cout << i << " ";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout << fixed << showpoint;
  cout << setprecision(9);
  int test = 1;
  while (test--) {
    solve();
  }
  return 0;
}
