[examples] Add integer comparison