https://www.acmicpc.net/problem/11758
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner s=new Scanner(System.in);
int x1=s.nextInt(), y1=s.nextInt();
int x2=s.nextInt(), y2=s.nextInt();
int x3=s.nextInt(), y3=s.nextInt();
int a=x1*y2+x2*y3+x3*y1;
int b=x2*y1+x3*y2+x1*y3;
if(a-b>0) System.out.print("1");
else if(a-b<0) System.out.print("-1");
else System.out.print("0");
}
}