In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7995, 'w', 'q', '4193', '491', 'e', 'Z', '5899', '591', 'e', '6867', '3917', 's', '6809', 'g', 'T', '1253', '4457', 'm', 'X', '4319', 'z', 5081, 'K', 'c', 'O', 'L'], [8561, 3803, 1987, 2111, 4727, 'h', 'Y', 'Q', 2069, 'W', 6897, 2621, '4193', '491', 'e', 'Z', '5899', '591', 'e', '6867', '3917', 's', '6809', 'g', 'T', '1253', '4457', 'm', 'X', '4319', 'h', 4567, 5431, 'i']