Savita works the night shift at the Khed Shivapur toll plaza, near Pune. The plaza has one rule. Every traveller pays with exactly two tokens from their tray. The two tokens must add up to the toll exactly.
Savita numbers the tokens on a tray from 0, starting on the left. Most tokens are coins. Some are discount slips with a minus value. Two tokens on a tray can have the same value. On offer nights, the toll can be ₹0 or even less than zero. Each tray has exactly one pair that matches the toll.
A long line of trucks is waiting. Write a program that tells Savita which two positions to pick, so the gate can open.
