please help someone please. how to check the condition? how many input we need to sum up?????