SP18170 TKV1000 - Takeover Wars

Description

You are studying a takeover war between two large corporations, Takeover Incorporated and Buyout

Input Format

Each test case is described by three lines of input. The first line contains two numbers 1 1 Limited. The next line lists the N sizes a i of the subsidiaries of Takeover Incorporated (1 and the third line lists the M sizes b j of the subsidiaries of Buyout Limited (1

Output Format

For each test case, display the case number and either the phrase Takeover Incorporated or the phrase Buyout Limited depending on who wins the takeover war if both corporations act optimally.