#include <stdio.h>
//Riccardo Callegaro 2SC
//Dati i coefficienti di una retta e una coordinata x, calcola il punto appartenente a quella retta
int main(void) {float a, b, c, x, y;
scanf("%f %f %f %f", &a
, &b
, &c
, &x
); if(b
==0) printf("calcolo non possibile"); else {y = - (a/b) * x - (c/b);
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8vUmljY2FyZG8gQ2FsbGVnYXJvIDJTQwovL0RhdGkgaSBjb2VmZmljaWVudGkgZGkgdW5hIHJldHRhIGUgdW5hIGNvb3JkaW5hdGEgeCwgY2FsY29sYSBpbCBwdW50byBhcHBhcnRlbmVudGUgYSBxdWVsbGEgcmV0dGEKaW50IG1haW4odm9pZCkge2Zsb2F0IGEsIGIsIGMsIHgsIHk7CnNjYW5mKCIlZiAlZiAlZiAlZiIsICZhLCAmYiwgJmMsICZ4KTsKaWYoYj09MCkgcHJpbnRmKCJjYWxjb2xvIG5vbiBwb3NzaWJpbGUiKTsKZWxzZSB7eSA9IC0gKGEvYikgKiB4IC0gKGMvYik7CiAgICAgIHByaW50ZigiUCglLjJmOyUuMmYpIiwgeCwgeSk7CiAgICAgfQpyZXR1cm4gMDsKfQo=