In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Input: Consider Input: [4817, 'A', '3155', 'W', 'm', 4061], [7701, 'P', '3155', 'W', 't', 'J']

Output: 3155, W

Input: Consider Input: [1925, 1033, 'n', 1719, 1863, 9415, 'D', 8649, 's', 1653, 'V', 4263, 7099, 1825, 4487, 'G', 6067, 1553, 2517, '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 'z', 8647, 9547, 'W', 7287, 7347, 'N', 'n', 'T', 5997, 4799, 'V', 'H', 4561, 'B', 2887, 9375, 3029, 'Y', 'x', 'J'], [6377, 'o', '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 't', 'c', 7365, 3141, 5971, 6183, 'H', 3775, 'o', 2757, 9621, 'g', 'g', 1713, 'M', 9787, 5173, 9745, 'J', 'N', 8953, 'K', 1443, 'w', 8793, 9963, 6383, 3985, 9087]

Output: 7743, 3161, X, 5815, 8019, 7445, H, g, 3451, 7313, j, v, 8927, 1115, b, t, 1253, 8603, p, p, c, i, 8035, Z, Z, 3931, 4321, q, 2639, S

Input: Consider Input: ['g', 5085, 'G', 597, 3139, 'J', 4321, 'Y', 'z', 'F', 'R', 'j', '4393', 'J', '8437', 'R', 'I', '539', 'K', '9329', 'k', '5947', '7065', 'c', 'g', '9359', '9659', 'S', '7611', 'P', 'g', '1691', 'd', 'r', 'T', '9363', 'B', 6221, 'q', 3719, 'P', 4611, 'e', 9331, 2005, 7091, 'o', 'C', 't', 'Z', 'a', 'B', 5561, 9259, 9581], ['j', 'L', 9955, 3637, 8509, 'E', 'J', 'X', 9531, 6273, 'A', 'y', 7165, 's', 9743, 8263, 4047, 5513, 7097, 9005, 'Y', 'z', 'F', 'R', 'j', '4393', 'J', '8437', 'R', 'I', '539', 'K', '9329', 'k', '5947', '7065', 'c', 'g', '9359', '9659', 'S', '7611', 'P', 'g', '1691', 'd', 'r', 'T', '9363', 'I', 6813, 's', 'k', 'x', 9237, 4333, 'F', 73, 'T', 559, 'y', 'C', 'i', 4603, 'f']
Output: Y, z, F, R, j, 4393, J, 8437, R, I, 539, K, 9329, k, 5947, 7065, c, g, 9359, 9659, S, 7611, P, g, 1691, d, r, T, 9363