if ((a==b) || (c ==d)) x = 1; else x = 2;
