input 91 B

12345
  1. 1,10 10,100 10,101
  2. 2,20 20,200
  3. 3,30 3,31 3,32 31,310 30,300 32,320 32,321
  4. 4,40 4,41 41,410