In a mathematics competition, the average score of Zhang, Wang, Li, Chen, and Zhao was 78 points. Among them, the average score of Zhang, Wang, and Li was 83 points, and the average score of Zhang, Chen, and Zhao was 78 points. It is 77 points, find the score of Zhang.
在一次数学竞赛中，张、王、李、陈、赵五人的平均分为78分，其中，张、王、李三个人的平均分为83分，张、陈、赵三个人的平均分为77分，求张的分数．
<gadget id="calculator">83 * 3</gadget>
<output>249</output>

<gadget id="calculator">77 * 3</gadget>
<output>231</output>

<gadget id="calculator">78 * 5</gadget>
<output>390</output>

<gadget id="calculator">231 - 390</gadget>
<output>-159</output>

<gadget id="calculator">249 + (-159)</gadget>
<output>90</output>

<result>90</result>