#include <iostream> using namespace std; int main () { int a; int b[4]={2,3,2,4}; while(cin>>a) { if(a==1||a==2) { cout<<-1; ...