In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6791, 2197, 'c', 'S', 'E', '2113', '9337', 'r', '6425', 't', 'e', 'G', '4587', 'c', 's', '3513', '827', 'H', 's', '2247', '543', 'N', '8337', 'L', 7755, 6287, 'Z', 2825, 3667, 'P', 'B', 'O', 1073, 4549, 7375, 5825, 'T'], [21, 7259, '2113', '9337', 'r', '6425', 't', 'e', 'G', '4587', 'c', 's', '3513', '827', 'H', 's', '2247', '543', 'N', '8337', 'l', 'K', 3863, 1435, 3883, 'H', 'c', 'z', 779, 'J', 'o', 'V', 'f', 'B']