Help the bird Faby to navigate through a sequence of n pairs of pipes, by finding the shortest line he can fly on to reach his destination. For simplicity, we represent Faby as a single point in the plane and assume every pipe has width zero. This way, the gap between every pair of pipes can be represented as an interval on the y axis. The bird starts out at s=(x_s,y_s) and his goal is to reach t=(x_t,y_t). Find the shortest line from s to t, passing through all intervals in between in increasing order of their x coordinates.

Figure F.1: Visualisation of the second sample input. The red lines represent the intervals and the black line the shortest possible path. Faby and the black dots are the points in the output. Note that (2,1) can optionally be included in the output too.
The input consists of:
It can be assumed that x_s<x_1<⋯<x_n<x_t.
Output a sequence of k (2≤k≤n+2) points p_1,…,p_k, one per line, such that:
All points have integer coordinates.
p_1=s and p_k=t.
Let P be the path obtained by connecting p_ip_i+1 for all 1≤i<k. Then:
If there are multiple valid solutions, you may output any one of them.