In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1813, 'J', 6239, 'f', 4655, 'J', 'T', 'E', '4313', '1861', 'a', '319', 'V', '2635', 'V', '3713', '8295', '2141', 'b', 'd', 'V', 'I', 'l', 't', 'G', 'f', '5453', 'h', 'C', 'l', 'V', 7023, 6471, 'O', 4865, 'w', 6845, 'q', 'k', 8129, 'O', 'H', 'L', 'j'], [6257, 745, 'M', 'J', 251, 'U', 107, 'o', 'r', 8817, 'O', '4313', '1861', 'a', '319', 'V', '2635', 'V', '3713', '8295', '2141', 'b', 'd', 'V', 'I', 'l', 't', 'G', 'f', '5453', 'p', 'g', 'g', 'Y', 2539, 7419, 3647, 1773, 3121]