import java.util.*; class C{ static Scanner s = new Scanner(System.in); public static void main(String[] args){ System.out.println(-s.nextInt()+1); } }