2016 is absolutely awesome 9

Logic Level 4

2016 cards are arranged in a row on a table. One of the numbers ‘1’, ‘2’ and ‘3’ is printed on each card.

It is found that there is at least one card between any two cards labelled ‘1’, at least two cards between any two cards labelled ‘2’, and at least three cards between any two cards labelled ‘3’.

If the smallest and greatest possible numbers of cards labelled ‘3’ are $$m$$ and $$M$$ respectively, find the value of $$m+M$$.

×