#include<bits/stdc++.h>
using namespace std;
int main(){
//	int n,a,maxn=1;
//	cin>>n; 
//	for(int i=1;;;)
//¨q¨r¨q¨r¨q¨r¨q¨r¨q¨r¡¡¡¡¨q¨r¡¡¡¡
//©¦¨t¨r©¦©¦©¦©¦©¦©¦©¦¡¡¡¡©¦©¦¡¡¡¡
//©¦¡¡©¦©¦©¦©¦©¦©¦©¦©¦¡¡¡¡©¦©¦¡¡¡¡
//©¦©¦¡¡©¦©¦©¦©¦©¦©¦©¦¡¡¡¡©¦©¦¡¡¡¡
//©¦¨t¨r©¦©¦¨t¨s©¦©¦¨t©¤¨r©¦¨t©¤¨r
//¨t¨s¨t¨s¨t©¤©¤¨s¨t©¤©¤¨s¨t©¤©¤¨s
//¡¡¡¡¡¡¡¡¡¡¡¡
	int n,x,y,cnt=0;
	cin>>n;
	for(int x=1;x<n;x++){
		y=n/2-x;
		if(x<=y){
			cout<<x<<' '<<
		}
	}
	return 0;
}
