(1, 1, 1): 1
(2, 2, 2): 1
(3, 3, 3): 1
(4, 4, 4): 1
(1, 2): 1
(1, 2, 3): 1
(2, 3, 4): 1
(1, 1, 2, 2): 4
(1, 2, 3, 3): 7
(1, 3, 4, 4): 10
(3,): 1
(1, 1, 4): 1
(1, 1, 1, 3): 4
(1, 2, 2, 4): 7
(1, 1, 1, 1, 2): 10
(1, 1, 2, 2, 3): 37
(1, 1, 3, 3, 4): 82
(1, 1, 1, 1, 1, 1): 20
(1, 1, 1, 2, 2, 2): 147
(1, 1, 1, 3, 3, 3): 544
(1, 1, 1, 4, 4, 4): 1373
(2, 4): 0
(3, 3): 0
(1, 1, 3, 4): 2
(2, 2, 4, 4): 18
(2, 2, 2, 3): 16
(2, 3, 3, 4): 37
(1, 4, 4): 0
(1, 1, 1, 3, 3): 18
(1, 1, 2, 4, 4): 42
(1, 1, 1, 2, 4): 18
(1, 2, 2, 3, 4): 156
(1, 2, 2, 2, 2): 64
(1, 2, 3, 3, 3): 244
(1, 1, 1, 1, 2, 3): 92
(1, 1, 1, 2, 3, 4): 360
(1, 1, 2, 2, 3, 3): 984
(1, 1, 2, 3, 4, 4): 3874
(2, 2, 2, 2, 4): 294
(2, 2, 2, 3, 3): 432
(1, 1, 1, 1, 1, 4): 50
(1, 1, 2, 2, 2, 4): 693
(1, 2, 2, 2, 2, 3): 1728
(1, 2, 2, 3, 3, 4): 10666
(2, 2, 2, 2, 2, 2): 2940
(2, 2, 2, 3, 3, 3): 27892
(2, 2, 2, 4, 4, 4): 160125
(3, 3, 3, 3): 64
(1, 1, 3, 3, 3, 4): 6220
(1, 1, 1, 1, 4, 4): 96
(1, 2, 2, 2, 4, 4): 6702
(1, 2, 3, 3, 3, 3): 16384
(2, 2, 2, 2, 3, 4): 18414
(2, 2, 3, 3, 4, 4): 244300
(2, 3, 3, 3, 3, 4): 370540
(3, 3, 3, 3, 3, 3): 557840
(3, 3, 3, 4, 4, 4): 6251525
(4, 4, 4, 4, 4, 4): 125030500