See the , which uses both the INP and the OUT statements.