In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['c', 'B', 4023, 8453, 8601, 'd', 3971, 'm', '2739', 'H', '2393', 'a', 'D', '1885', '8971', '3755', '3885', '1493', '8133', 'Y', 2363, 6749, 'h', 9167, 'A', 'o', 9501, 5873, 'n', 'h', 3473], ['V', 'm', 'c', 5747, 'p', 'm', '2739', 'H', '2393', 'a', 'D', '1885', '8971', '3755', '3885', '1493', '8133', 'L', 'G', 8335, 'o', 6501, 'a', 921, 'Z', 3829, 7705, 5037, 1457]