In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 'E', 3457, 5151, 'J', 7157, 1227, 's', 'H', '383', '391', '5971', 'w', 'Q', '4775', 'Y', 'F', 'x', '6551', 'T', '6223', '3315', 'b', 't', '127', '3871', '867', '73', 'c', 'e', 'q', 'j', 1809, 5303, 7447, 49, 'f', 'W', 3137, 'o', 'P', 5741, 4863, 1527, 'h', 6167, 4919, 3863, 'B'], [1799, 6959, '383', '391', '5971', 'w', 'Q', '4775', 'Y', 'F', 'x', '6551', 'T', '6223', '3315', 'b', 't', '127', '3871', '867', '73', 'c', 'e', 'c', 7597, 1441, 'p', 'T', 7957, 'S', 'P', 'v', 3977, 2929, 957, 'a', 'K', 7015, 1901, 'l', 'r']