Ravi leaves home for stadium which is 12km from his house. After the stadium, he goes to his club which is 7km from his stadium. If his house, stadium and club all fall in a line, then what is the minimum distance he has to travel to get back home?