In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2217, 'Z', 6767, 6975, 227, 8301, 8215, 'T', 7953, 'A', '5353', 't', 'Z', '2643', '6275', 'Y', 'A', '1671', '9571', '6207', 'q', 5603, 'M', 3871, 'k', 3917, 7487, 'q', 'T'], ['I', 6777, 'O', 'h', 699, 605, 2587, '5353', 't', 'Z', '2643', '6275', 'Y', 'A', '1671', '9571', '6207', 'N', 'D', 'W', 2303]