#include using ll = long long; using namespace std; const int INFint = 1e9+1; const ll INFll = (ll)1e18+1; ll MOD=1e9+7; int main(){ int a,b,c,d,e,f; cin>>a>>b>>c>>d>>e>>f; double y = (a*f-d*c)/(double)(a*e-d*b); double x = (c - b*y)/(double)a; cout <