Get the input from the correct node