In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 8661, 'J', 5989, 3583, 'F', 8639, 4293, 'E', '5677', '2019', '5059', 'y', 'O', '4817', '1223', 'T', '8887', 'd', 't', 'u', '6485', 'a', 8069, 8681, 'o', 'l', 'C', 'Y', 265, 't', 'I', 'k', 'm', 4295], [4415, 'u', 'T', 'k', 7381, 'R', 'Q', 3347, 5821, '5677', '2019', '5059', 'y', 'O', '4817', '1223', 'T', '8887', 'd', 't', 'u', '6485', 'P', 't', 4851, 779, 8695, 'G', 5303, 'k', 'e', 'r', 579, 979, 'm']