At a science fair, Machine A multiplies a number by 3 and then subtracts 4. Machine B halves a number and then adds 5. Ishaan feeds a number into A and puts A's output into B. Tanvi feeds the same number into B and puts B's output into A.

For which input do Ishaan and Tanvi get the same output?
