0

the two parties considered equal win the same number of seats in the N states in any order otherwise they are unequal.

input :

1)it is an array of n integers depecting number of seats won by the party one in each state

2)it is an array of n integers depecting number of seats won by the party two in each state

3)An integers containing number of integers N

output:

equal : if the votes are equal

unequal: if the votes are unequal

invalid : if any party has negative number of votes.