Just Four Pieces

Grandma bought a chocolate bar for her four grandchildren. The bar is made up of small chocolate squares arranged as a grid of RR rows and CC columns. The grandchildren are all of different ages, and Grandma’s rule is simple: the older the child, the more chocolate they get. To share the entire bar without waste, she wants to split it into four rectangular pieces with pairwise distinct numbers of squares.

Grandma knows that snapping a chocolate bar by hand can be irregular. To ensure clean cuts, after placing the bar flat on a cutting board she will make two straight cuts with a knife along the grooves between squares: one horizontal cut between rows rr and r+1r+1 (1≤r<R1 \leq r < R), and one vertical cut between columns cc and c+1c+1 (1≤c<C1 \leq c < C). Each cut crosses the entire bar.

In the picture below, a chocolate bar with R=5R = 5 and C=7C = 7 is cut by choosing r=2r = 2 and c=3c = 3, which yields pieces with 66, 88, 99 and 1212 squares.

Help Grandma choose where to cut: find a pair of integers rr and cc such that the four resulting pieces have pairwise distinct numbers of squares, or determine that no such pair exists.

Input

The input consists of a single line that contains two integers RR and CC (2≤R,C≤2×1092 \leq R, C \leq 2 \times 10^{9}), indicating respectively the number of rows and columns of the chocolate bar.

Output

Output a single line with two integers rr and cc , indicating where the chocolate bar can be cut to obtain four pieces with pairwise distinct numbers of squares. If there are multiple solutions, output any of them.

If four pieces with distinct numbers of squares cannot be obtained, output a single line with the character “*” (asterisk) instead.

Examples

Input

5 7

Output

2 3

Input

5 7

Output

2 4

Input

2 2

Output

*