
There will be several testcases. The grid's width w, 1 ≤ w ≤ 100, and grid's height h, 1 ≤ h ≤ 100, are on the first line. The last testcase will contain a 0 for height h and a 0 for the width w and should not be processed. In the next line there follows the number n, 0 ≤ n ≤ 100 of the wolf's possible locations. The next n lines contain two integers each. The first denoting the wolf's x, 0 ≤ x ≤ 100 coordinate, the second the wolf's y, 0 ≤ y ≤ 100 coordinate. Little Red Riding Hood's House is at the point (0,0) and the grandmother's house is at (w, h). The wolf cannot be at either house.
Output one line for each testcase. If there is more than one path between Little Red Riding Hood's house and the grandmother's house on which Little Red Riding Hood doesn't meet the wolf and only moves right and upwards, output the number of paths in the format:
There are X paths from Little Red Riding Hood's house to her grandmother's house.
If there is exactly one path print:
There is one path from Little Red Riding Hood's house to her grandmother's house.
Otherwise print:
There is no path.
The number of paths will always be ≤ 2^32 − 1.