#include<stdio.h>
#include<math.h>
int main()
{
int n,count;
scanf("%d",&n);
while(n--)
{
double Y;
scanf("%lf",&Y);
if(Y<6||Y>8*pow(100,4)+7*pow(100,3)+2*pow(100,2)+3*100+6) {printf("No solution!\n");break;}
double left=0,right=100,num;
int m=100;
while(m--)
{
num=(left+right)/2; // 8*x^4 + 7*x^3 + 2*x^2 + 3*x + 6 == Y//
if(8*pow(num,4)+7*pow(num,3)+2*pow(num,2)+3*num+6>Y) right=num;
if(8*pow(num,4)+7*pow(num,3)+2*pow(num,2)+3*num+6< Y) left=num;
}
printf("%.4lf\n",num);
}
return 0;
}
08-04
08-04
08-04
08-04
08-04
08-04
08-04