In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['y', 'a', 4751, 'B', 'p', 'O', 'U', 'b', 'b', 'J', 'e', 'm', '1289', '2697', '7671', '8405', 'A', 'w', 'M', 'd', 'I', '393', 'U', 'c', '4001', '2937', '295', '3155', 'U', '2813', 'I', 't', '5347', 'W', 'j', 'u', '2353', 'Q', '8239', '8573', 'K', 'G', 'k', 'L', 'X', 6661, 'i', 'V', 1997, 2763, 'H', 'v', 'K', 7451, 221, 7163, 'S', 2279, 'S', 'Y', 8787, 'p', 2981, 1321, 5141], [5249, 6553, 2141, 'J', 'T', 'u', 'X', 'h', 9795, '1289', '2697', '7671', '8405', 'A', 'w', 'M', 'd', 'I', '393', 'U', 'c', '4001', '2937', '295', '3155', 'U', '2813', 'I', 't', '5347', 'W', 'j', 'u', '2353', 'Q', '8239', '8573', 'T', 1185, 5791, 9367, 'N', 'p', 'i', 2143, 377, 'C', 4955, 'x', 'R', 'Y', 3723, 2451, 6685, 'T', 9453, 'V', 'M', 4039, 'E', 3831, 'S', 'g', 1891, 3611]