In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5253, 'm', 1399, 4583, 'h', 8503, 'T', 'c', 'a', '449', '4231', '5701', '5899', 'C', 'a', '3439', '3109', 'G', 'd', 'y', 'g'], ['J', 'w', 9051, 6107, 7919, 'O', 'H', 'd', 8913, 8375, 'T', 'c', 'a', '449', '4231', '5701', '5899', 'C', 'a', '3439', '3109', 'b', 1011, 7435]