Tested out codes and added = to less than and more than expressions to clarify.