<Table> <Tr> <Th_colspan="2"> Midnight Cowboy </Th> </Tr> <Tr> <Td_colspan="2"> Theatrical release poster </Td> </Tr> <Tr> <Th> Directed by </Th> <Td> John Schlesinger </Td> </Tr> <Tr> <Th> Produced by </Th> <Td> Jerome Hellman </Td> </Tr> <Tr> <Th> Screenplay by </Th> <Td> Waldo Salt </Td> </Tr> <Tr> <Th> Based on </Th> <Td> Midnight Cowboy by James Leo Herlihy </Td> </Tr> <Tr> <Th> Starring </Th> <Td> <Ul> <Li> Dustin Hoffman </Li> <Li> Jon Voight </Li> </Ul> </Td> </Tr> <Tr> <Th> Music by </Th> <Td> John Barry </Td> </Tr> <Tr> <Th> Cinematography </Th> <Td> Adam Holender </Td> </Tr> <Tr> <Th> Edited by </Th> <Td> Hugh A. Robertson </Td> </Tr> <Tr> <Th> Distributed by </Th> <Td> United Artists </Td> </Tr> <Tr> <Th> Release date </Th> <Td> <Ul> <Li> May 25, 1969 (1969 - 05 - 25) </Li> <Li> </Li> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> <Tr> <Th> Running time </Th> <Td> 113 minutes </Td> </Tr> <Tr> <Th> Country </Th> <Td> United States </Td> </Tr> <Tr> <Th> Language </Th> <Td> English </Td> </Tr> <Tr> <Th> Budget </Th> <Td> $3.2 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $44.8 million </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Midnight Cowboy </Th> </Tr>

Who starred in rain man and midnight cowboy