In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 'P', 'i', 4269, 263, 'A', '3039', '3557', '9229', 'b', '7629', '8997', 'Q', '8883', '8463', 'v', 2857, 4771, 't'], ['N', 9639, 'A', '3039', '3557', '9229', 'b', '7629', '8997', 'Q', '8883', '8463', 'E', 2689, 953, 9987, 'u', 'L', 7157, 'q', 'I']