#include<stdio.h>
int main(){
int a1, b1, c1;
int a2, b2, c2;
scanf("%d %d %d %d %d %d", &a1, &b1, &c1, &a2, &b2, &c2);
float del=a1*b2-b1*a2;
float del_x=c1*b2-b1*c2;
float del_y=a1*c2-c1*a2;
if (del==0 && (del_x!=0 || del_y!=0)) printf("No answer\n");
else if (del==0 && (del_x==0 && del_y==0)) printf("Too many\n");
else if (del!=0) {
printf("x=%.2f\n", del_x/del);
printf("y=%.2f\n", del_y/del);
}
return 0;
}