import java.util.Scanner; /** * Created by jordanly on 4/26/15. */ public class Sums { public static Scanner in = new Scanner(System.in); public static void main(String[] args) { int t = in.nextInt(); for (int i = 0; i < t; i++) { int n = in.nextInt(); boolean found = false; for (int m = 2; m < Math.sqrt(2 * n); m++) { double nm = ((double) n/(double) m); double m2 = ((double) m)/2.0; if ((nm + m2 + .5) % 1 == 0) { System.out.print(n + " = "); for (int k = 0; k < m; k++) { if (k < m - 1) System.out.print((int) (nm - m2 + .5) + k + " + "); else System.out.print((int) (nm - m2 + .5) + k); } System.out.println(); found = true; break; } } if (!found) System.out.println("IMPOSSIBLE"); } } }