In the bustling city of Numeropolis, Detective Sum is on a mission to catch a pair of cunning thieves. The thieves have stolen a precious artifact worth exactly X gold coins.
Detective Sum has a list of N suspects, each carrying a certain amount of gold coins. Your task is to help Detective Sum identify the two suspects whose combined gold coins equal the value of the stolen artifact.
Output two different integers - the indices of the two suspects (1-indexed) whose gold coins sum up to X. If there are multiple solutions, output any one of them. It is guaranteed that there is at least one solution.
Input: 4 9 2 7 11 15
Output: 1 2
Explanation: Suspects 1 and 2 are carrying 2 and 7 gold coins respectively, which sum up to 9, the value of the stolen artifact.