In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7101, 9943, 67, 'a', 4583, 8301, 'u', 'H', 'F', 7195, '5155', '9855', 'x', 'b', '7383', '8169', 'K', 'O', 'Y', '7423', 'A', 'L', '2507', '9983', 'I', 9405, 'r', 'A', 'N', 717, 607, 'q', 7431], ['p', 'U', 'E', 'I', 'K', '5155', '9855', 'x', 'b', '7383', '8169', 'K', 'O', 'Y', '7423', 'A', 'L', '2507', '9983', 'Z', 'n', 1747, 'Y', 8457, 'C', 'q']