I don't know what depth of input you want, but this would be a good case for any()