private static int tribus ( int version , int a , int b , int c ) { if ( version < 10 ) { return a ; } else if ( version >= 10 && version <= 26 ) { return b ; } else { return c ; } }
Choose from three numbers based on version .