In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 'h', 'P', 5523, 'Z', 'X', 'L', 'X', 'F', 1691, 'U', 3713, '5531', '861', '4307', '113', 'L', '3323', 't', '5569', 'Y', 'V', 'Z', 'N', '9591', '9967', 'W', 'F', 'g', 1845, 9575, 7233, 5427, 2417, 'A', 'H', 623], ['Y', 'k', 'T', 'G', '5531', '861', '4307', '113', 'L', '3323', 't', '5569', 'Y', 'V', 'Z', 'N', '9591', '9967', 'e', 5205, 'Q', 'j', 'j', 385, 619, 'Z', 's', 'r', 1205, 3269]