In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 6847, 't', 9997, 2699, 'W', 'i', 'd', 3251, 'L', 's', 'R', '4141', 'T', 'p', '1111', 'w', 'Z', 'r', '431', 'h', '8293', 'F', '3239', '8733', 'K', 'x', 371, 1387, 4275, 'N', 'v', 7515], ['g', 1093, 'c', 9561, 6579, 4473, 6429, 9851, 2765, 'M', 'n', 5873, 'L', 's', 'R', '4141', 'T', 'p', '1111', 'w', 'Z', 'r', '431', 'h', '8293', 'F', '3239', '8733', 'K', 'E', 'B', 8507, 'Z', 'm', 3101, 'e', 'a', 4295, 9331, 3537]