In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8237, 'S', 'm', '5385', '1751', '7791', 'G', '5455', 'H', '2341', 'P', '69', '2165', '6187', '879', 'c', 'Z', 'D', 'O', 105], ['O', 'X', 1691, '5385', '1751', '7791', 'G', '5455', 'H', '2341', 'P', '69', '2165', '6187', '879', 'c', 'Z', 'F', 5495, 'v', 1481, 'a', 'h', 'q', 7049, 4127, 'z', 9519, 7757]