import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n1 = 0; long a1 = 1; long a2 = 1; long n2 = 0; long b1 = 1; long b2 = 1; n1 = sc.nextLong(); a1 = sc.nextLong(); for(long i=1;i= 0&&a2 < 0){ a1*=-1; a2*=-1; } System.out.println(a1+" "+a2); } static long calculateGcf(long m, long n) { long s = 0; while(m % n != 0) { s = m; m = n; n = s % n; } return n; } }