In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 'h', 6807, 'n', 3529, 'L', 'h', 5073, 5531, 3181, 4627, 'V', '9797', '5199', '8945', '5877', '3875', '5797', '6311', '9721', '2075', 'h', '6269', 'j', '5301', '4609', 'h', '9907', 'm', 'Z', '3997', '599', '9687', '6751', 'E', 'k', 'C', 't', 2831, 'Z', 'e', 'V', 9287, 3827, 8427, 'T', 'm', 'D', 1129, 'N', 4297, 7277, 2009, 't', 'm', 9475], ['L', 'c', 'V', '9797', '5199', '8945', '5877', '3875', '5797', '6311', '9721', '2075', 'h', '6269', 'j', '5301', '4609', 'h', '9907', 'm', 'Z', '3997', '599', '9687', '6751', 'E', 'x', 2151]