290. 1 The total.

Struggle, and that of A: 160c+40t+40,. But this is not easy.