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

[EX Q]: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']
[EX A]: A, g, 6735, 6737, 6929, 3051, v, 1223, 497

[EX Q]: ['x', 9943, 'K', 'O', 'g', 6603, 1275, 'x', 6903, 'c', 9999, 8825, 2529, 'r', 9149, 'W', 6857, 'A', 'c', '551', 'U', '7103', '453', '4397', 'z', '3567', '8685', '4895', 'k', '6657', '8493', 'Z', 'J', 'y', 'v', 'r', 'J', 'g', '3679', '1287', 'p', 6153, 'A', 'S', 8797, 3097, 8983, 'e', 1335, 'L', 'k'], ['N', 3687, 'j', 325, 'I', 'A', 'T', 2921, 'm', 'Z', 9267, 'U', 3985, 7851, 5999, 'b', 'c', '551', 'U', '7103', '453', '4397', 'z', '3567', '8685', '4895', 'k', '6657', '8493', 'Z', 'J', 'y', 'v', 'r', 'J', 'g', '3679', '1287', 'G', 'K', 8039, 7189, 8641, 'x', 'P', 'v', 7977]
[EX A]: c, 551, U, 7103, 453, 4397, z, 3567, 8685, 4895, k, 6657, 8493, Z, J, y, v, r, J, g, 3679, 1287

[EX Q]: ['w', 2521, 'e', 9979, 6537, 1331, 'L', 'F', 'u', 7849, 'p', 2539, 'o', 'Q', 8881, 'O', 2011, 'Z', 'Q', 'j', '5831', 'y', '1257', 'p', '2935', '7697', '597', 'K', 'd', 'O', '9935', '5449', '9713', 'M', 'H', 'y', 'H', 'G', '2077', 'Q', '6033', 'e', '6563', '7813', '8185', 'N', 'v', 4623, 403, 4703, 587, 265, 715, 'w', 3375, 'l', 'c', 'W', 1461, 'H', 'X', 2195, 7387, 7653, 'L'], [1211, 2747, 't', 'o', 'B', 'G', 671, 'I', 9587, 'k', 'y', 'P', 8983, '5831', 'y', '1257', 'p', '2935', '7697', '597', 'K', 'd', 'O', '9935', '5449', '9713', 'M', 'H', 'y', 'H', 'G', '2077', 'Q', '6033', 'e', '6563', '7813', '8185', 'N', 'h', 'j', 6291, 'J', 4565, 'a', 5353, 'O', 2655, 'J', 6939, 'r', 'E', 9339, 'e', 'w', 'L', 7601, 'H']
[EX A]:
5831, y, 1257, p, 2935, 7697, 597, K, d, O, 9935, 5449, 9713, M, H, y, H, G, 2077, Q, 6033, e, 6563, 7813, 8185, N