提交时间:2026-04-04 19:19:07

运行 ID: 435295

#include<bits/stdc++.h> using namespace std; int x,y; int main(){ cin>>x>>y; if((y-x)%2==0){ cout<<x+(y-x)/2; }else{ cout<<"IMPOSSIBLE"; } return 0; }