104.c: enum every possible way *TLE*
104.c: done with DP method