#include <bits/stdc++.h>
using namespace std;
const int N = 2e6;
void left() {
  cout << "LEFT"
       << "\n";
}
void right() {
  cout << "RIGHT"
       << "\n";
}
void print(char ch) {
  cout << "PRINT"
       << " " << ch << "\n";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  int left = 1, right = n;
  while (left < right) {
    cout << left << " " << right << " ";
    left++;
    right--;
  }
  if (left == right) {
    cout << left;
  }
  return 0;
}
