In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6257, 'p', 153, 599, 'r', '7483', '8691', '1977', 'q', '3001', '6233', 'l', 'Z', 'Q'], ['K', 4277, 1899, 'x', 'R', 'n', 'r', '7483', '8691', '1977', 'q', '3001', '6233', 'u', 'M', 9721, 1327, 'Y', 'f']