Editorial for Жұп па әлде тақ па?


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Hint 1.

Жұп және тақ сандарды ажырату үшін олардың 2-ге бөлінетінін тексеруге болады.

Hint 2.

Егер сан 2-ге қалдықсыз бөлінсе — ол жұп, ал қалдық қалса — тақ.

Hint 3.

Яғни шартты былай жазуға болады:
\(N \bmod 2\)