In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 7807, 6869, 6313, 'T', 2951, 'z', 4311, 'D', 1433, 4587, 3519, 'J', 'i', 'b', 'w', 'M', 'h', 'i', '4229', 'h', 'G', '9739', 'p', 'M', 'b', '2347', 'H', 'N', 'F', '1061', '2827', 'L', 'd', '8291', '2915', '8623', 'l', '3157', 'n', 3935, 'v'], ['g', 5299, 6329, 6293, 1761, 'X', 1381, 7223, 'S', '4229', 'h', 'G', '9739', 'p', 'M', 'b', '2347', 'H', 'N', 'F', '1061', '2827', 'L', 'd', '8291', '2915', '8623', 'l', '3157', 'R', 'u', 2979, 'R', 2049, 'd', 'h', 'w', 3813, 'b', 2053, 2519, 7885, 5843, 2315, 6819, 8395, 'e', 'q']