In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['w', 8037, 'o', 'y', 'E', 3311, 'S', 10005, 1473, 5155, 'p', 3283, 'A', 'B', 'k', 7993, 'L', 'f', 'p', '7247', '1777', '6055', '467', '5925', '5607', 'f', 'G', 'W', '269', '9667', 'H', 'r', 'r', '105', 'L', 'A', 7793, 'b', 'Z', 'p', 6189, 8489, 'W'], [3477, 'T', 'J', 'b', 't', 'h', 'H', 'j', 'g', 'd', 3819, 'w', 6041, 'H', 'q', 7665, 'N', 'f', 'p', '7247', '1777', '6055', '467', '5925', '5607', 'f', 'G', 'W', '269', '9667', 'H', 'r', 'r', '105', 'L', 'V', 8717, 3113, 1265, 5865, 1757, 'T', 4535, 'q', 'u', 'd', 2007, 9415, 'H', 3351]
f, p, 7247, 1777, 6055, 467, 5925, 5607, f, G, W, 269, 9667, H, r, r, 105, L