**Compilation/Execution Result:**

38.34%

A and B are good friend and programmers. They are always in a healthy competition with each other. They decide to judge the best among them by competing. They do so by comparing their three skills as per their values. Please help them doing so as they are busy.

Set for A are like [a1, a2, a3]

Set for B are like [b1, b2, b3]

Compare* ith* skill of A with *ith* skill of B

if a[i] > b[i] , A's score increases by 1

if a[i] < b[i] , B's score increases by 1

**Input : **

The first line of input contains an integer T denoting the Test cases. Then T test cases folllow. The second line of each test case contains Skill values of A . The third line of each test case contains Skill values of B

**Output : **

For each test case in a new line print the score of A and B separated by space.

**Constraints :**

1 ≤ T ≤ 50

1 ≤ a[i] ≤ 10^{17}

1 ≤ b[i] ≤ 10^{17}

**Example:**

**Input : **

2

4 2 7

5 6 3

4 2 7

5 2 8

**Output : **

1 2

0 2

Author: Mohit Gupta 4

Chandan Mishra | 12 |

kashish miglani | 10 |

vserra | 6 |

nazish tabassum | 6 |

AkanshuGupta | 6 |

Shashank_Pathak | 584 |

surbhi_7 | 556 |

dark_knights | 540 |

Infinty | 341 |

Vasudha Gupta | 340 |

akhayrutdinov | 4156 |

sanjay05 | 3611 |

Quandray | 2794 |

Ibrahim Nash | 2475 |

Michael Riegger | 2288 |