package main import."fmt" func main(){a,b,c:=0,0,0;Scan(&a,&b,&c);Print(a^b^c);}