Given the following shapes: a rectangle with width 5 and height 8, a trapezoid with bases 5 and 1 and height 3, a trapezoid with bases 5 and 1 and height 6, a right_triangle with base 7 and height 6, a square with side 7, a rectangle with width 7 and height 4. What is the total area of all shapes? Please round the result to the nearest integer.
<think>Rectangle with width 5 and height 8: Area = 5 x 8 = 40
Trapezoid with bases 5, 1 and height 3: Area = 0.5 x (5 + 1) x 3 = 9.0
Trapezoid with bases 5, 1 and height 6: Area = 0.5 x (5 + 1) x 6 = 18.0
Right triangle with base 7 and height 6: Area = 0.5 x 7 x 6 = 21.0
Square with side 7: Area = 7^2 = 49
Rectangle with width 7 and height 4: Area = 7 x 4 = 28</think>

<answer>165</answer>