Program Number; Var n: Integer; Begin Write('Enter number: '); ReadLn(n); if ((n div 1000)+((n div 100) mod 10) = (n div 10) mod 10+(n mod 10)) then Write('Yes') else Write('No'); ReadLn; End.