In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4285, 277, 3509, 7413, '899', 'p', '7255', '6199', '3717', '2267', '1719', '165', 'd', 'T', 'm', 'R', 4097, 'v'], ['K', 5367, 515, 'r', 1807, 'r', 6037, 5737, 4369, 8023, '899', 'p', '7255', '6199', '3717', '2267', '1719', '165', 'd', 'T', 'm', 'X', 9885, 9203, 853, 'S']