4887: P7540 [COCI2009-2010#1] DOMINO(入门)

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:22 Solved:14

Description

Input

Output

Sample Input Copy

2

Sample Output Copy

12

HINT