switch(a)
{
case 11=run[0];delay(y);break;//P1=run[1];delay(y);break;
case 21=run[2];delay(y);break;//P1=run[3];delay(y);break;
case 31=run[4];delay(y);break;//P1=run[5];delay(y);break;
case 41=run[6];delay(y);break;//P1=run[7];delay(y);break;
case 51=run[0];delay(y);break;//P1=run[1];delay(y);break;
case 61=run[2];delay(y);break;//P1=run[3];delay(y);break;
case 71=run[4];delay(y);break;//P1=run[5];delay(y);break;
case 81=run[2];delay(y);break;//P1=run[3];delay(y);break;
case 91=run[0];delay(y);break;//P1=run[1];delay(y);break;
case 101=run[6];delay(y);break;//P1=run[7];delay(y);break;
case 11:P1=run[4];delay(y);break;//P1=run[5];delay(y);break;
case 12:P1=run[2];delay(y);break;//P1=run[3];delay(y);break;
case 13:P1=run[0];delay(y);break;//P1=run[1];delay(y);break;
case 14:a=0;break;