Unknown cards

A pack contain $$n$$ cards numbered from 1 to $$n$$. Two consecutive numbered cards are removed from the pack and the sum of the numbers on the remaining cards is $$1224$$.If the smaller of the numbers on the removed cards is $$k$$,then find the value of $$k$$

×