In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 'T', 9357, 'U', 9239, 4857, 'd', 'f', 2845, 2645, 1167, 9451, 8263, '5787', '1435', 'Z', '6457', 'T', 'W', 'U', '523', '8367', 'B', '8045', 'K', '4433', '5743', 'u', 'R', 'V', 'N', 'G', 'q', 'd', 'r', 'g', 'o', 8119, 'c', 's', 7325, 'z', 10023, 'm', 'G', 9817, 'G'], ['K', 'r', 4447, 'x', 'i', 2399, 'b', 'y', 7449, 'V', 'K', 'U', 6935, 9263, 8223, 8213, '5787', '1435', 'Z', '6457', 'T', 'W', 'U', '523', '8367', 'B', '8045', 'K', '4433', '5743', 'u', 'R', 'V', 'N', 'G', 'q', 'd', 'r', 'g', 'O', 'c', 6533, 8995, 'e']