#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5, MOD = 1e9 + 7;
long long a, ans;
map<long long, long long> mp;
string s;
int main() {
  cin >> a;
  for (int i = 1; i <= a / 2.0; i++) cout << i << " " << a - i + 1 << " ";
  if (a % 2) cout << ceil(a / 2.0);
  return 0;
}
