#include using namespace std; int main(){ int n; int s[6] = {2,8,5,7,1,4}; int i; cin>>n; i=n%6-1; cout<