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