In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[749, 'q', 'y', 'Y', 'c', 6827, 'u', 'f', 8069, 'P', 'd', 855, 229, 'h', 'f', 'W', 'a', 2431, 857, 'q', 'u', 'v', '5179', '8813', 'i', 'A', '5743', '1027', '3879', '6149', '3005', '1117', 'V', 'P', '2975', '5627', 'w', 'H', '4041', '1537', '5405', '7789', 'U', '5313', '3615', 'b', 'h', '9647', 'R', '6963', 'A', 'u', 'O', 6759, 8321, 'R', 'x', 6467, 3207, 'e', 'z', 2491, 'f', 3261, 'p', 9149, 4303, 'B', 3877, 'i', 8279, 'b', 'J', 'n', 413, 'r', 9165, 'G', 'l', 9305], ['c', 9639, 'P', 'n', 'w', 'm', 2705, '5179', '8813', 'i', 'A', '5743', '1027', '3879', '6149', '3005', '1117', 'V', 'P', '2975', '5627', 'w', 'H', '4041', '1537', '5405', '7789', 'U', '5313', '3615', 'b', 'h', '9647', 'R', '6963', 'A', 'o', 8251, 841, 'n', 'S', 'z', 8051, 8489, 'P']