int foo = (bar == 0) ? 17 : (bar == 1) ? 213 : (bar == 2) ? 620 : (bar == 3) ? 562 : -1;