In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7087, 4471, 'P', 'W', 'C', '6301', 'T', '6625', '9345', '4471', '4385', 'H', 'K', 'r', 'Z', 'O', 'y', 'm', 7683, 1493, 'F', 4293, 'z'], [1607, 8143, 'F', 5435, 8723, 'x', 'C', '6301', 'T', '6625', '9345', '4471', '4385', 'H', 'K', 'r', 'E', 1241]