Pergunta de entrevista da empresa Zendesk

Write a function which returns 0 on input 1 and 1 on input 0?