#include <stdio.h>
main()
{
char input[] = "SSSWILTECH1\1\1";
int i, c;
for ( i=2; (c=input[i])!='\0'; i++) {
switch(c) {
case '1': break;
case 1: while (( c = input[++i]) != '\1' && c!= '\0');
case 'E': case 'L': continue;
}
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgogbWFpbigpCnsKY2hhciBpbnB1dFtdID0gIlNTU1dJTFRFQ0gxXDFcMSI7CmludCBpLCBjOwpmb3IgKCBpPTI7IChjPWlucHV0W2ldKSE9J1wwJzsgaSsrKSB7CnN3aXRjaChjKSB7CmNhc2UgJ2EnOiBwdXRjaGFyICgnaScpOyBjb250aW51ZTsKY2FzZSAnMSc6IGJyZWFrOwpjYXNlIDE6IHdoaWxlICgoIGMgPSBpbnB1dFsrK2ldKSAhPSAnXDEnICYmIGMhPSAnXDAnKTsKY2FzZSAnRSc6IGNhc2UgJ0wnOiBjb250aW51ZTsKZGVmYXVsdDogcHV0Y2hhcihjKTtjb250aW51ZTsKfQpwdXRjaGFyKCcgJyk7Cn0KcHV0Y2hhcignXG4nKTsKfQ==