check for all unwanted condition
if ( a == 1 b == 1 c == 1 a == b b == c a == c ) { Console . Write ( " - 1" + " STRNEWLINE " ) ; } else { Console . Write ( a + " ▁ " + b + " ▁ " + c + " STRNEWLINE " ) ; } }