#include <iostream>
using namespace std;
int main() {
int a,b,c,d;
while(cin>>a>>b>>c>>d){
if((d-c)==(b-a)){cout<<a<<" "<<b<<" "<<c<<" "<<d<<" "<<d+d-c<< endl;}
else {cout<<a<<" "<<b<<" "<<c<<" "<<d<<" "<<d*d/c<< endl;}
}
return 0 ;}
WA (line:1)
答案不正確
您的答案為: 8 1 2 3 4 正確答案為: 1 2 3 4 5