public static void main(String[] args){
		
		Scanner input = new Scanner(System.in);
		System.out.println("Enter the first linear equation (format: y=ax+b): ");
		String e1 = input.nextLine().replace("y=",""); 
			
		System.out.println("Enter the second linear equation (format: y=ax+b): ");
		String e2 = input.nextLine().replace("y=","");
		
		String result = findCoordinates(e1,e2);
		
		System.out.println("(" + result + ")");	
	}