In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6143, 'k', 3341, 'L', 'V', 'N', 'K', 'W', 1953, 3479, 'D', 'D', 499, 'h', 'r', 5631, 'S', 'd', 'u', 623, 'P', 'y', 'G', 'Z', '10019', '1623', '2133', '7787', '5323', 'g', 'W', '6743', 'g', '7359', '6805', '3491', 'U', 'y', '1225', 'Q', 'i', 'h', '7493', 'R', '6471', '7717', 'F', 'o', '2467', 'y', 'U', 'S', 'K', 3729, 'p', 'H', 'l', 'f', 7765, 457, 3035, 'X', 'g', 4657, 'N', 'y', 8739, 3355, 't', 'b', 2633], ['A', 9163, 'x', 'B', 'r', 3977, 'U', 9283, 'q', 'O', 'k', 'w', 2563, 5157, 'Z', '10019', '1623', '2133', '7787', '5323', 'g', 'W', '6743', 'g', '7359', '6805', '3491', 'U', 'y', '1225', 'Q', 'i', 'h', '7493', 'R', '6471', '7717', 'F', 'o', '2467', 'y', 'U', 'U', 'N', 'W', 5473, 'r', 'C', 'r']