4596: P1234 小 A 的口头禅
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description

Input

Output

Sample Input Copy
5 5
heheh
heheh
heheh
heheh
heheh
Sample Output Copy
10
HINT
