Here you need:
else:
    out[0] = inputs[0]