#include using namespace std; using ll=long long; #define rep2(i, a, n) for(int i = (a); i < (n); i++) #define rep(i, n) rep2(i,0,n) int main(){ cin.tie(nullptr);ios_base::sync_with_stdio(false); int a; map map; rep(i,5){ cin>>a; map[a]++; } int hoge=0,shake=0; bool flag=true; for(auto itr = map.begin(); itr != map.end(); ++itr) { //cout<<"key="<first<<",val="<second<<"\n"; if(itr->second>=2&&flag){ hoge=itr->second; flag=false; }else if(itr->second>=2)shake=itr->second; } //cout<