In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 'V', 'p', 4203, 6157, 7577, 6961, 2333, 6327, 8089, '9085', '451', '3317', 'D', '6211', 'T', '45', 'l', '6935', 'Y', 'g', '8377', 'U', '2931', '5585', 's', '5435', '829', 'O', 'Z', 8501, 'u', 7743, 4821, 'v'], [4965, 2987, 'W', 5715, 'g', 1685, '9085', '451', '3317', 'D', '6211', 'T', '45', 'l', '6935', 'Y', 'g', '8377', 'U', '2931', '5585', 's', '5435', '829', 'c', 'Q']