<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def decodeMotorInput(self, motorInputPattern):
 """ Decode motor command from bit vector. @param motorInputPattern (1D numpy.array) Encoded motor command. @return (1D numpy.array) Decoded motor command. """

    key = self.motorEncoder.decode(motorInputPattern)[0].keys()[0]
    motorCommand = self.motorEncoder.decode(motorInputPattern)[0][key][1][0]
    return motorCommand