In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'e', '423', '8657', '9739', 'Z', 'e', 's', '2131', '6463', '1121', 'D', '5317', 'i', 'D', '9881', 'P', '8255', '7613', 'Z', '8851', 'h', '5327', 'e', '2863', 't', 'a', 'w', 3335, 'l', 3339, 'q', 'Y', 'a', 'G', 1733, 4609, 3681, 'I', 2253, 'Z', 9165, 1917, 5459, 'P'], [8793, 'Y', 4153, 'n', 'E', 'H', 'i', 6575, 'D', 2405, 9523, 'D', 6771, 7755, 7953, 1429, 'S', 'R', 'T', '423', '8657', '9739', 'Z', 'e', 's', '2131', '6463', '1121', 'D', '5317', 'i', 'D', '9881', 'P', '8255', '7613', 'Z', '8851', 'h', '5327', 'e', '2863', 't', 'a', 'v', 'c', 1109, 197, 229, 'G', 7729, 'h', 7131, 'p', 'E', 2521, 'R', 917, 6617, 7885, 'J']