How does the last component of Baalbek decline?

Al-Murakkabāt — Compound Numerals, the Twelve Exception and Declining Baalbek