In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[645, 'O', 4705, 4079, 2701, 9063, 'w', 'I', 'u', 'z', 1449, 6983, 5453, 'g', 9541, 'v', 'T', 'h', '9421', '7853', '723', 'd', '741', '7347', 'e', 'n', '4315', '2571', 'Z', 'U', 'g', '3479', '9883', 'O', '7723', '6239', 'm', 'E', '737', 'd', 8963, 'A', 'v', 'a', 'D', 'c', 1145, 2069, 3697, 1129, 'R', 'D', 6725, 4765, 'K', 3025, 1655, 9149], ['a', 3491, 2219, 'z', 3209, 'h', '9421', '7853', '723', 'd', '741', '7347', 'e', 'n', '4315', '2571', 'Z', 'U', 'g', '3479', '9883', 'O', '7723', '6239', 'm', 'E', '737', 'Q', 213, 'h', 6195, 'm', 9413, 1489]