import java.util.Scanner; public class HelloWorld { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if (n < 3) { System.out.println("(-1,-1,-1)"); } int a = n; int b = -n & n; int c = n ^ b; if (a >0 && b > 0 && c >0) { System.out.println(a + "," + b + "," + c); }else { System.out.println("(-1,-1,-1)");} } }