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

[EX Q]: [1307, 'u', 'Z', 3323, 191, 'i', 'h', 't', 'L', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'C', 'M', 'y', 'h', 7985, 9989, 'j'], [2817, 1955, 2973, 'Y', 9221, 'z', '8549', '7861', '9747', '3985', 'g', 'r', '1247', 'R', 'S', 'a', 'a', '749', 'G', 'M', 2083, 'O']
[EX A]: 8549, 7861, 9747, 3985, g, r, 1247, R, S, a, a, 749

[EX Q]: [933, 9413, 9683, 'd', 'R', 'f', 'x', 2517, 4291, 'D', 'c', 2831, 2199, 'o', 'K', 'K', 'P', 'T', 'C', '1751', '237', 'u', '7787', '4341', '1887', '6747', 'D', 'C', 'b', 'f', 'h', '6639', '1087', 'g', 'L', 'x', 'p', '3027', 'g', 'f', 'P', 'k', 'H', 1087, 9801, 'F', 9949, 7761, 'b', 'A', 'o', 'N', 'Q', 211, 9203, 'f', 4985, 'b', 9801, 9441, 821, 'a', 7155, 'T', 'P', 'F', 3369], [4525, 5493, 'K', 'P', 'T', 'C', '1751', '237', 'u', '7787', '4341', '1887', '6747', 'D', 'C', 'b', 'f', 'h', '6639', '1087', 'g', 'L', 'x', 'p', '3027', 'g', 'f', 'P', 'f', 'V', 3251, 'q', 'K', 'n', 3051, 'o', 1663, 6951, 2459, 'G', 2891, 2967, 1203, 4519, 2995, 'A', 'V', 9399, 1581, 'B', 'C']
[EX A]: K, P, T, C, 1751, 237, u, 7787, 4341, 1887, 6747, D, C, b, f, h, 6639, 1087, g, L, x, p, 3027, g, f, P

[EX Q]: ['n', 4067, 'l', 'D', 7085, 'T', 5013, 'r', 8181, 5845, 9993, 'D', '8309', 'V', 'n', '8295', '5627', 'D', 'c', '9437', 'R', '6131', 'b', 'X', 'E', '821', 'X', 'g', '8351', '2579', '457', '2583', '2493', 's', 'm', '5855', 'c', 'v', 'w', 'O', 9377, 'U', 1173, 'p', 6817, 447], ['w', 6177, 8915, 'i', 2309, 't', 929, 'Y', 'O', 'u', 621, 8673, 727, 6745, 4885, 'A', 3543, 'I', 3563, 'A', '8309', 'V', 'n', '8295', '5627', 'D', 'c', '9437', 'R', '6131', 'b', 'X', 'E', '821', 'X', 'g', '8351', '2579', '457', '2583', '2493', 's', 'm', '5855', 'c', 'v', 'g', 6105, 3173, 9079, 3897, 3945, 2133, 'm', 601, 'T']
[EX A]:
8309, V, n, 8295, 5627, D, c, 9437, R, 6131, b, X, E, 821, X, g, 8351, 2579, 457, 2583, 2493, s, m, 5855, c, v