提交时间:2026-04-04 18:32:27

运行 ID: 435274

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