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

[EX Q]: ['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]
[EX A]: 8587, b

[EX Q]: [3535, 10023, 'g', 'B', 'E', 'p', 'K', 'y', 1187, 5353, 8779], [1169, 981, 'B', 'E', 'p', 'K', 'D', 'h', 4145, 'h']
[EX A]: B, E, p, K

[EX Q]: [625, 7627, 'B', 'A', '3055', 'K', '8063', '1081', 'v', '4597', 's', 'D', 6655], ['Y', 'a', 4285, 'L', 'O', 'n', 'S', 4583, 'A', '3055', 'K', '8063', '1081', 'v', '4597', 's', 'Y', 'R', 'Y', 'Y', 7249, 6775, 'S']
[EX A]:
A, 3055, K, 8063, 1081, v, 4597, s