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

[EX Q]: ['B', 'f', 'Y', 'r', 4391, 'B', '6995', '7077', 'p', '3191', 'M', 1379, 5473], [3689, 'g', 5189, 'w', 4837, 'B', '6995', '7077', 'p', '3191', 'B', 9145]
[EX A]: B, 6995, 7077, p, 3191

[EX Q]: ['z', 'j', 'G', 'w', 'h', 5009, 'z', 'r', '1279', 'z', '1337', 'R', 'R', 9761, 'D', 713], ['a', 'T', 'A', 'z', 'r', '1279', 'z', '1337', 'R', 'J', 'z', 'L', 'P']
[EX A]: z, r, 1279, z, 1337, R

[EX Q]: [5935, 3191, '4521', 'y', 'D', 2157], [7929, 1543, '4521', 'y', 'F', 'f']
[EX A]:
4521, y