fn inverse(input: &Input, index: usize, value: i64) -> i64
Recursively finds the value of the expression on the “unknown” side so that it equals the known side.