The given AP is 5, 12, 19, ... .
Here, a = 5, d = 12 − 5 = 7 and n = 50.
Since there are 50 terms in the AP, so the last term of the AP is a50.
Thus, the last term of the AP is 348.
Now,
Sum of the last 15 terms of the AP
Hence, the required sum is 4485.