def METHOD_NAME(self, request_input):
    # checks whether request_input is right number
    if len(request_input) != 2:
        raise HTTPError(400, 'val_0 failed: request_input length is not 2 -- (%s)' % len(request_input))
    return request_input