In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 6289, 'a', 7195, 's', 2041, 'O', 'V', 7205, 'z', 7063, 6161, 4811, 6891, 8343, 1651, '4173', 'W', 'k', 't', '8491', '107', '6333', 'r', '1507', 'S', 'Q', 'C', 'N', 's', '4007', 'x', 'X', '1695', 'i', 'i', 4225, 'P', 8153, 'I', 'h', 'Z', 'l', 'h', 8051, 'h'], ['h', 895, 'z', 'T', 'y', 'z', 1327, 'y', 'T', 'C', 'N', 5905, 2271, '4173', 'W', 'k', 't', '8491', '107', '6333', 'r', '1507', 'S', 'Q', 'C', 'N', 's', '4007', 'x', 'X', '1695', 'i', 'c', 971, 1265, 'k', 'r', 'O', 't', 9877, 4331, 'e', 4587, 'u', 6175, 'U', 'N', 'A', 'F', 2493, 2619]