In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 5213, 5651, 2245, 8317, 'H', 'H', 'L', 'I', 'e', 'Q', 8317, 9599, 6361, 'N', 'X', 2445, 'W', '8867', 'V', '7905', 'B', '6583', '2823', 'F', '2621', 'F', '1367', '5077', 'q', 'g', 'K', '3883', 'M', '3703', 'w', 'd', 'g', 'q', '4655', '9573', '3577', 'F', '6627', 'K', 'i', 'L', 6913, 3379, 4853, 1245, 7343, 357, 'S', 'P'], ['z', 6307, 'B', 'f', 2709, 5801, 2143, 5185, 'N', 5423, 'E', 'R', 'f', 'z', 'i', 5855, 'h', 'V', 3191, 'W', '8867', 'V', '7905', 'B', '6583', '2823', 'F', '2621', 'F', '1367', '5077', 'q', 'g', 'K', '3883', 'M', '3703', 'w', 'd', 'g', 'q', '4655', '9573', '3577', 'F', '6627', 'K', 'i', 'n', 'r', 6793, 7483, 2883, 9505]