#include<stdio.h>
#include<stdlib.h>
int main()
{
	int a,b,c,p,q,r,s,nq,ns;
	while(scanf("%d%d%d",&a,&b,&c),a)
	{
		for(r=1;r<=(a+1)/2;++r)if(a%r==0)
		{
			p=a/r;for(s=-abs(c);s<=abs(c);++s)if(!c || s&&c%s==0)
			{
				if(c) q=c/s;
				else
				{
					if(b%r==0)q = b/r;
					else continue;
				}
				if(p==r&&q<s)nq=s,ns=q;
				else nq=q,ns=s;
				if(b==p*ns+r*nq)
				{
					printf("%d %d %d %d\n",p,nq,r,ns);
					goto E;
				}
			}
		}
		puts("Impossible");
E:;
	}
	return 0;
}