Hi,

This is not answering your next request by the way, just converting the previous rerquest

But you might want to push the values of both to separate arrays and then compare/ add/ subtract them when needing to.