Αποστολή με SMS: Formation of the calcium H, K, and subordinate lines in the solar chromosphere