In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7853, 8035, 'f', 'q', 7779, '2531', '1541', '8041', 'E', '6613', 's', 'J', 'N', '2271', 'g', 'N', 'X', 's', 'g', 'P', 'k'], ['b', 'q', 'U', 9705, '2531', '1541', '8041', 'E', '6613', 's', 'J', 'N', '2271', 'g', 'N', 'D', 8215, 'r', 6763, 3071, 5987, 'j', 'T', 5031]