#include <stdio.h>
#include <stdlib.h>
int main(void){
int a,b,c,d,x;
int u=1;
while(u==1){
while(scanf("%d %d %d %d", &a, &b ,&c, &d)!=EOF){
printf("%d %d %d %d\n", a, b ,c, d);
if(b-a==c-b&&c-b==d-c){
printf("%d %d %d %d %d",a,b,c,d,2*d-c);
}
else if(b/a==c/b&&c/b==d/c){
printf("%d %d %d %d %d",a,b,c,d,d*d/c);
}
a=0;b=0;c=0;d=0;
}
}
}
一開始大輸入一個數字是什麼意思?為什麼不能這樣寫?