#include<iostream>
using namespace std;
int= n;
int arr[]={1,2,3,4,5};

while(-5<=n<=5)
cout<<n<<"5 4 3 2 1";