In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 'p', 'a', 'Q', 1827, 7529, 'X', 't', 4629, 2533, 'M', 'm', 'd', '7697', '627', 'l', 'g', '4737', '1605', '3733', '6629', '7765', '1877', 'W', '7779', '8821', 'g', 'd', 'Y', 'x', 'w', '8019', 'F', 9269, 'R', 'N', 4997, 7237, 'U', 'R', 'p', 'n', 'u', 'Q', 6635, 1161, 'k'], ['Z', 'K', 6079, 'k', 'o', 'E', 8105, 6973, 103, 'S', 8509, 3909, 'u', 7437, 'L', 'C', 'd', '7697', '627', 'l', 'g', '4737', '1605', '3733', '6629', '7765', '1877', 'W', '7779', '8821', 'g', 'd', 'Y', 'x', 'w', '8019', 'y', 7951, 'z', 'c', 'O', 'k', 2897, 1325, 1347, 9021, 'T', 4119, 'c', 4957, 'U', 't', 'a']