In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4623, 7377, 3167, 5289, 'p', 'l', 'Z', 'p', 'q', 4071, 4987, 9059, 8683, 'i', 6537, '5053', 'N', 'v', '5601', '7851', '5267', 'h', '8745', '7589', 'R', 'w', 'A', '8999', 'r', 'Y', 'r', 'Y', 5939, 5469, 1877, 'H', 'w', 'U', 'V', 8677, 8599, 2965, 'b', 'J'], [7385, 9213, 885, 'j', 'T', 't', 'n', 'f', 'x', 6175, 9969, 'H', 'T', 'W', '5053', 'N', 'v', '5601', '7851', '5267', 'h', '8745', '7589', 'R', 'w', 'A', '8999', 'r', 'Y', 't', 519, 'g', 9851, 'u', 'g', 4273, 'L', 583, 5645, 'v', 3911]