Yes! This is a simple way of checking two values at the same time.
Your code should look like this: list[j+1].
list[j+1]