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

[EX Q]: [6137, 1795, 'J', 9247, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'J', 7209, 'S'], [3317, 657, 3971, 8789, 4953, 9693, 'O', 7845, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'M', 'A', 'B', 'l']
[EX A]: r, w, E, s, 687, N, 8213, 1751, 2567, 5673, y, 6821, 6863, 8847, z, s, N, z

[EX Q]: [6233, 489, 6117, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'Q', 4171], ['G', 9467, 331, 9967, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'o', 'a', 'P', 'a', 'C', 'N', 'R', 'l', 'l', 'j', 'N', 8161, 3729, 'F', 'r', 'B']
[EX A]: 5201, J, A, 3023, W, 791, 8263, m, w, q, 8873, B, 4945, 25, v, 6679, 3217, Q, 9509, V

[EX Q]: [8621, 8691, 'U', 'd', 'W', 4427, 'g', '9913', 'X', '7823', 'Q', '7251', 'm', '5461', 'i', 'E', 8345, 'U', 'R', 'r'], ['G', 4131, '9913', 'X', '7823', 'Q', '7251', 'm', '5461', 'i', 'G', 2367, 'B', 'g', 'p', 'F', 1241, 'v']
[EX A]:
9913, X, 7823, Q, 7251, m, 5461, i