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

[EX Q]: [4837, 'e', 'd', 3717, 3245, 'j', 'A', '5181', 'i', 'X', 'h', 'J', 'h', 'S', 801, 5829, 3309], ['K', 'j', 'L', 'N', 4449, 5349, 'A', '5181', 'i', 'X', 'h', 'J', 'c', 7035, 533, 5903, 'n', 'e']
[EX A]: A, 5181, i, X, h, J

[EX Q]: ['r', 187, 'm', 'S', 'z', 5311, 'Y', 'h', 'y', 'F', 'n', 'h', 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'b', 'n', 'P', 'k', 5257, 'A', 'm', 'q', 'Q', 'n', 'n', 'd'], [5561, 8887, 7269, 'z', 7529, 4645, 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'y', 1507, 'z', 'a']
[EX A]: V, 5467, C, d, 2611, 3895, h, W, T, 7115, N, 4227, 2001

[EX Q]: ['v', 'S', 'o', 6215, 'p', 1121, 'H', 'X', 'q', '8529', 'u', 'U', 'P', '6229', 't', '95', '9289', '6875', 'A', 'I', 'l', 'j'], [9135, 8051, 'p', 'k', 'r', '8529', 'u', 'U', 'P', '6229', 't', '95', '9289', '6875', 'S', 6509, 3839, 'o', 'q', 'T', 'z']
[EX A]:
8529, u, U, P, 6229, t, 95, 9289, 6875