Given a list of integers and a target, find the two distinct indices whose values sum to the target.
Input
First line: space-separated integers (the list).
Second line: a single integer (the target).
Output
The two indices, space-separated, ascending order. Indices are 0-based.
Example
Input:
Output:
Constraints
- 2 ≤ list length ≤ 10⁴
- Exactly one valid answer exists.