0
Split a number in every possible way
You task here is very simple:
Given a positive integer n as input, split it in all possible ways
Examples
Input->Output
123 -> {{123}, {12, 3}, {1, 23}, {1, 2, 3}}
8451 -> {{8451}, {845, 1}, {8, 451}, {84, 51}, {84, 5, 1}, {8, 45, 1}, {8, 4, 51}, {8, 4, 5...