#include<iostream>
#include <math.h>
using namespace std;
int main()
{
int Xa,Ya,Xb,Yb,Xc,Yc;
cin>>Xa>>Ya>>Xb>>Yb>>Xc>>Yc;
int a,b,c;
a=sqrt(pow(Xa-Xb,2)+pow(Ya-Yb,2));
b=sqrt((pow(Xc-Xb,2)+pow(Yc-Yb,2));
c=sqrt((pow(Xa-Xc,2)+pow(Ya-Yc,2));
//acum ai cele trei laturi trebuie sa foloseste if pnetru conditi