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

[EX Q]: [1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']
[EX A]: 155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S

[EX Q]: ['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]
[EX A]: 8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163

[EX Q]: [4175, 'P', 1043, 2231, 'm', 'O', 6373, 2655, 'q', 'O', '1443', '5295', 'C', '3697', 'z', 'q', 'U', 'K', '4255', '9325', 'K', 7023, 's', 901, 1587, 8715, 2669, 1001, 8947], ['q', 'e', 6667, 2411, 3715, 'C', 8279, 7795, 'E', 'K', 'q', 'O', '1443', '5295', 'C', '3697', 'z', 'q', 'U', 'K', '4255', '9325', 't', 9541, 6031, 'B', 'm', 't', 8941, 'S', 4115, 'u']
[EX A]:
q, O, 1443, 5295, C, 3697, z, q, U, K, 4255, 9325