#!/gnu/usr/bin/bash

read number
#echo $(($number % 2))
exit $(($number % 2))

