Calculate Sum of Even and Odd Numbers