In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'j', 'P', 8777, 'M', 1285, 8547, 'a', 1771, 6887, 'N', 'h', 899, 6835, 5589, 9267, 'a', 'T', 'h', 't', 8497, 8239, 'm', '7649', '3097', 'J', 'R', 'g', 'a', '6491', '4831', '1585', 'p', '3829', 'g', 'v', '5767', '3539', 'h', 'Z', 'k', 'x', 'O', 'C', '4683', 'a', '8639', '8643', 'T', '8399', 'P', 'C', 'p', 8879, 'E', 7043, 'w', 6241, 'A', 3801, 'k', 'P', 813, 8795], [3831, 'y', 'e', 'Z', 'Z', 'c', 'B', 'g', 7243, 'k', 1375, 'F', 8423, 7513, 'p', 9647, '7649', '3097', 'J', 'R', 'g', 'a', '6491', '4831', '1585', 'p', '3829', 'g', 'v', '5767', '3539', 'h', 'Z', 'k', 'x', 'O', 'C', '4683', 'a', '8639', '8643', 'T', '8399', 'P', 'C', 'P', 6065, 4113, 1185, 4111, 8049, 'c', 7489, 'g', 'F', 5325, 8325, 2779, 'o', 'n', 2969, 9173, 'i', 'V', 'l', 2773]