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

[EX Q]: [9741, 'E', 4251, 8197, 'V', 'd', 'U', 'S', 'l', 4297, 9217, 'O', 6607, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'R', 'u', 587, 'r', 'i', 3977, 's', 'V', 'v', 215, 399, 's', 7561, 25, 3885, 1501, 'W', 7853, 'l', 5145, 'z'], [5441, 169, 9471, 'r', 'i', 7087, 'v', 't', 6273, 'k', 1041, 'd', 'Q', 2227, 5617, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'Z', 'b', 3671, 'y', 9829, 7849, 9049, 'T', 8407, 'M', 'B', 'N', 7837, 2963, 7385, 'K', 8717, 'j', 3621, 75, 'E']
[EX A]: 2517, G, y, a, F, 1035, 823, E, J, a, 3609, 7379, x, Y, M, 1893, O, 4875, z, B, c, 7147, u, 9477

[EX Q]: ['N', 1775, 't', 385, 1349, 'T', 'E', 'u', 5647, 't', 'd', 'I', 'r', 'f', '6045', 'U', '9023', '9857', 'R', 'Y', 'w', 'P', '7089', '9679', '1507', 'S', '6815', 'Y', 'c', 'H', 'I', 'Q', 'Y', 'M', 7789, 'J', 'I', 4813, 6533, 1745, 'y', 4711, 'E', 'F', 5191, 's', 6979], ['W', 'F', 2799, 'I', 'r', 'f', '6045', 'U', '9023', '9857', 'R', 'Y', 'w', 'P', '7089', '9679', '1507', 'S', '6815', 'Y', 'c', 'H', 'I', 'Y', 'k', 6395, 'L', 5747, 'l', 4081, 'v', 3129, 7249, 375, 4575, 4725, 'R', 'A', 4761, 3217, 5203, 'E', 'T']
[EX A]: I, r, f, 6045, U, 9023, 9857, R, Y, w, P, 7089, 9679, 1507, S, 6815, Y, c, H, I

[EX Q]: ['q', 'e', 'J', 't', '5865', 'q', 'o', 5385], ['F', 8223, 'J', 't', '5865', 'q', 'r', 2205, 7639]
[EX A]:
J, t, 5865, q