Max's living room is 4 meters wide and 7 meters long. He wants to put a border around the top of the room. The cost of the border is $0.84 per meter. How much will it cost to buy enough of the border to go around the room?