Problem2415--字谜

2415: 字谜

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

Input

Output

输出一行,其中包含一个整数,表示 hlgg可以获得的结果数量。

Sample Input Copy

1
3 1 2 2

Sample Output Copy

21

HINT



Source/Category

admin