Tyrone likes to snack on his big bag of candy. He takes 8 pieces of candy from the bag each time he snacks. After eating 18 snacks, there are only 6 pieces of candy remaining in the bag.
The number c of pieces of candy remaining in the bag is a function of s, the number of snacks Tyrone eats.
Write the function's formula.
c=_____