In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 'h', 'Y', 8189, 1861, 1627, 3047, 'w', 't', 'h', 345, 'h', 4985, 'C', 'm', 'N', '8189', '2645', '5389', '1429', '403', '4949', '4513', 'c', '5513', '6257', '2451', 'n', 'H', 'm', 6349, 6701, 'S', 'W', 'l', 6101, 'd'], ['U', 'F', 5937, 'Z', 'X', 9011, 'x', 'q', 'm', 4875, 'E', 701, 'E', 3943, 'v', 'C', 'm', 'N', '8189', '2645', '5389', '1429', '403', '4949', '4513', 'c', '5513', '6257', '2451', 'n', 'H', 'd', 175, 'J', 7905, 'e', 4365, 'y', 3461, 'B', 'X', 'r', 8997, 7227, 9305]