The "annoying" part is to program the results of all the possible combinations , the amount of combinations increase exponentially.