Triathlon
Triathlon is a multi-sport event that includes three sequential stages: swimming, cycling, and running. Competitors aim to complete these stages in the shortest possible time.
Each participant's speed for each stage is provided. The competition organizers have the flexibility to set the length of each stage, as long as no stage is of zero length. This flexibility allows the organizers to potentially select stage lengths that favor a particular participant, making them the winner.
Input
The input begins with an integer N, representing the number of participants (1 ≤ N ≤ 100). Following this, there are N lines, each containing three integers V, U, and W (1 ≤ U, V, W ≤ 10000), which indicate the participant's speed in swimming, cycling, and running, respectively.
Output
For each participant, print "Yes" on a new line if the organizers can set the stage lengths such that this participant finishes first, without any ties. Otherwise, print "No".