In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5077, 7181, 'C', '5333', 'V', '3441', 'F', 'x', 's', 'z', 'w', '3789', 'b', 8209, 'M', 7025, 'i', 5867], [4803, 'Z', 3253, 1953, 9467, '5333', 'V', '3441', 'F', 'x', 's', 'z', 'w', '3789', 'y', 'j', 7241, 2269, 1177]