Problems
404 - Parallel, Not Parallel
SUBMIT PROBLEM

Parallel, Not Parallel

Time Limit: 1 sec

 

The Problem

Pritom reads in 1st semester in CSE dept. He likes geometry but as he in 1st semester he is weak in programming. He can easily find “Either two lines are parallel or not ?” in paper but not in pc. Your job is to help Pritom finding the solution. If the equation of two lines are a1x+b1y+c1=0 and a2x+b2y+c2=0. Pritom solve the problem using a1/a2=b1/b2 this equation. Now help Pritom.

 

 

 

The Input

The input file contains several lines of input. Each line consist of six integers a1, b1, c1, a2, b2 and c2(a1, b1, c1, a2, b2 and c2 <=2000). Input is terminated by EOF.

 

The Output

For each line of input print “The lines are parallel.” if given two lines are parallel otherwise print “The lines are not parallel.”(print without quotation). Follow the sample input outputs.

 

Sample Input

4 16 25 2 8 12
2 3 4 4 5 34

 

Sample Output

The lines are parallel.
The lines are not parallel.

 

 

 

 

Problem Setter: Md. Helal Uddin