#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
ll gcd(ll a, ll b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  int n;
  cin >> n;
  int ara[n + 1];
  for (int i = 0; i < n; ++i) ara[i] = i + 1;
  bool first = 1, last = 0;
  for (int i = 0, j = n - 1; i < n / 2; ++i, --j) {
    cout << ara[i] << " ";
    cout << ara[j] << " ";
  }
  if (n & 1) cout << ara[n / 2] << '\n';
}
