Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['A', 4017, 7619, 'h', 'p', 'q', 'z', '6949', 'q', '9737', 'n', 'v', 'U', '6009', '7995', '7079', 'M', '3047', '9513', 'C', 'd', '8839', '6937', 'W', '8169', '4561', '5195', 'Q', '7247', '6591', '8393', '7821', '3533', 'A', 'k', 'f', 'e', 'R', 8097, 129, 'A', 'z', 'B', 5363, 'U', 'I', 'p', 'R', 8975, 8217, 'j', 'W', 'U', 8701, 4293, 3193, 5973, 9561, 9459, 'p', 8099, 'N', 'i', 383, 'X', 'A'], [4445, 4733, 'B', 3687, 9425, '6949', 'q', '9737', 'n', 'v', 'U', '6009', '7995', '7079', 'M', '3047', '9513', 'C', 'd', '8839', '6937', 'W', '8169', '4561', '5195', 'Q', '7247', '6591', '8393', '7821', '3533', 'A', 'k', 'f', 'e', 'p', 1117, 2589, 7435, 9115, 'd', 1431, 8823, 'o', 'k', 6509, 'B', 'Y', 'L', 'A', 4041, 'z', 'p', 5041, 'P', 9301, 'j', 'Y', 'g', 9171, 'y', 'H', 'j', 2975]
6949, q, 9737, n, v, U, 6009, 7995, 7079, M, 3047, 9513, C, d, 8839, 6937, W, 8169, 4561, 5195, Q, 7247, 6591, 8393, 7821, 3533, A, k, f, e