What is the best way to: How to make a resealable lid for cans?

pick from the following. A. get food grade putty, mesh it to the top of can, then wait for it to set, once set, wash it and use as needed; B. get colored putty, mesh it to the bottom of can, then wait for it to set, once set, wash it and use as needed;
Answer:
A.