In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 9459, 8765, 5081, 1965, 'd', 8853, 'c', 'a', 'j', 'P', 4075, 7787, 'F', 5829, 10031, '5635', 'A', '2829', 'i', '2431', '951', 'X', 'k', '2211', '8971', '529', '8649', '2573', '3051', '2867', 'C', '1833', 'X', '7081', '4769', '2839', 'N', 'l', '3427', 'T', 'i', 'e', 'l', 's', 'K', 8055, 'C', 9423, 9245, 763, 'k'], ['B', 1129, 'J', 9559, 'q', 2359, 'V', 2567, 6913, 'E', 4375, 'J', 4273, 5277, 'B', 3847, 'R', 'a', 'y', 'd', 4185, 7333, 'H', 1663, '5635', 'A', '2829', 'i', '2431', '951', 'X', 'k', '2211', '8971', '529', '8649', '2573', '3051', '2867', 'C', '1833', 'X', '7081', '4769', '2839', 'N', 'l', '3427', 'T', 'i', 'e', 'l', 'z', 'N', 8663, 5875, 'O', 'E', 'G', 'B', 'Y', 'U', 3191, 4471, 9119, 'V', 'l', 'h', 1969, 'y']