Problem: Alice is a big fan of volleyball and especially of the very strong "Team A".

Volleyball match consists of up to five sets. During each set teams score one point for winning a ball. The first four sets are played until one of the teams scores at least 25 points and the fifth set is played until one of the teams scores at least 15 points. Moreover, if one of the teams scores 25 (or 15 in the fifth set) points while the other team scores 24 (or 14 in the fifth set), the set is played until the absolute difference between teams' points becomes two. The match ends when one of the teams wins three sets. The match score is the number of sets won by each team.

Alice found a book containing all the results of all matches played by "Team A". The book is old, and some parts of the book became unreadable. Alice can not read the information on how many sets each of the teams won, she can not read the information on how many points each of the teams scored in each set, she even does not know the number of sets played in a match. The only information she has is the total number of points scored by each of the teams in all the sets during a single match.

Alice wonders what is the best match score "Team A" could achieve in each of the matches. The bigger is the difference between the number of sets won by "Team A" and their opponent, the better is the match score. Find the best match score or conclude that no match could end like that. If there is a solution, then find any possible score for each set that results in the best match score.

Input

The first line contains a single integer m (1 ≤ m ≤ 50 000) — the number of matches found by Alice in the book.

Each of the next m lines contains two integers a and b (0 ≤ a, b ≤ 200) — the number of points scored by "Team A" and the number of points scored by their opponents respectively.

Output

Output the solution for every match in the same order as they are given in the input. If the teams could not score a and b points respectively, output "Impossible".

Otherwise, output the match score formatted as "x:y", where x is the number of sets won by "Team A" and y is the number of sets won by their opponent. 

The next line should contain the set scores in the order they were played. Each set score should be printed in the same format as the match score, with x being the number of points scored by "Team A" in this set, and y being the number of points scored by their opponent.

Example

Input


6
75 0
90 90
20 0
0 75
78 50
80 100


Output


3:0
25:0 25:0 25:0
3:1
25:22 25:22 15:25 25:21
Impossible
0:3
0:25 0:25 0:25
3:0
25:11 28:26 25:13
3:2
25:17 0:25 25:22 15:25 15:11

Solution (in JAVA):

Solution:
import static java.lang.Integer.parseInt;
import static java.lang.Long.parseLong;
import static java.lang.Math.max;
import static java.lang.System.exit;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;

public class A {

	static void solve() throws Exception {
		int da[][][][] = new int[4][4][201][201];
		int db[][][][] = new int[4][4][201][201];
		for (int sa = 0; sa < 3; sa++) {
			for (int sb = 0; sb < 3; sb++) {
				int cda[][] = da[sa][sb];
				int cdb[][] = db[sa][sb];
				for (int pa = 0; pa <= 200; pa++) {
					for (int pb = 0; pb <= 200; pb++) {
						int ccda = cda[pa][pb];
						int ccdb = cdb[pa][pb];
						if (sa == 0 && sb == 0 && (pa != 0 || pb != 0)) {
							continue;
						}
						if ((sa != 0 || sb != 0) && ccda == 0 && ccdb == 0) {
							continue;
						}
						int es = sa == 2 && sb == 2 ? 15 : 25;
						for (int apb = 0; pb + apb <= 200; apb++) {
							int apa = max(apb + 2, es);
							if (pa + apa <= 200) {
								da[sa + 1][sb][pa + apa][pb + apb] = apa;
								db[sa + 1][sb][pa + apa][pb + apb] = apb;
							}
						}
						for (int apa = 0; pa + apa <= 200; apa++) {
							int apb = max(apa + 2, es);
							if (pb + apb <= 200) {
								da[sa][sb + 1][pa + apa][pb + apb] = apa;
								db[sa][sb + 1][pa + apa][pb + apb] = apb;
							}
						}
					}
				}
			}
		}
		int tests = scanInt();
		List<Integer> ans = new ArrayList<>();
		test: for (int test = 0; test < tests; test++) {
			int pa = scanInt(), pb = scanInt();
			for (int sa = 3; sa >= 0; sa--) {
				for (int sb = 0; sb <= 3; sb++) {
					if (sa < 3 && sb < 3) {
						continue;
					}
					int cda = da[sa][sb][pa][pb];
					int cdb = db[sa][sb][pa][pb];
					if (cda == 0 && cdb == 0) {
						continue;
					}
					out.println(sa + ":" + sb);
					ans.clear();
					while (sa > 0 || sb > 0) {
						ans.add(cda);
						ans.add(cdb);
						pa -= cda;
						pb -= cdb;
						if (cda > cdb) {
							--sa;
						} else {
							--sb;
						}
						cda = da[sa][sb][pa][pb];
						cdb = db[sa][sb][pa][pb];
					}
					for (int i = ans.size() - 2; i >= 0; i -= 2) {
						out.print(ans.get(i) + ":" + ans.get(i + 1) + " ");
					}
					out.println();
					continue test;
				}
			}
			out.println("Impossible");
		}
	}

	static int scanInt() throws IOException {
		return parseInt(scanString());
	}

	static long scanLong() throws IOException {
		return parseLong(scanString());
	}

	static String scanString() throws IOException {
		while (tok == null || !tok.hasMoreTokens()) {
			tok = new StringTokenizer(in.readLine());
		}
		return tok.nextToken();
	}

	static BufferedReader in;
	static PrintWriter out;
	static StringTokenizer tok;

	public static void main(String[] args) {
		try {
			in = new BufferedReader(new InputStreamReader(System.in));
			out = new PrintWriter(System.out);
			solve();
			in.close();
			out.close();
		} catch (Throwable e) {
			e.printStackTrace();
			exit(1);
		}
	}
}