#include <bits/stdc++.h>
using namespace std;
const int N = 1e7 + 100;
const double PI = 3.1415926536;
vector<long long> v;
long long n, m, k, t, sum, l, r, p, e, d, c, a, b;
long long ans;
bool f;
string s;
set<long long> st;
map<char, long long> mp, mp2;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cin >> n;
  m = n;
  c = 1;
  for (int i = 0; i < m; i++) {
    if (i % 2 == 0) {
      cout << c << " ";
      c++;
    } else {
      cout << n << " ";
      n--;
    }
  }
  return 0;
}
