In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5285, 6847, 3529, 'k', 6645, 'h', 5859, 'c', 'D', '6983', '1673', '9009', 'i', 'R', 'S', 'Q', 'O', '6327', 'A', 'y', 'd', 'U', 'G', '2137', 'h', 'z', 'S', '6235', 'K', 'A', '5529', 'Z', 'N', 'K', 'U', 8581, 'D', 'N', 'o', 5401, 'V', 'D', 'I', 't', 4029, 4803, 'L', 3859], ['B', 't', 'v', 'k', 'R', 2971, 'r', '6983', '1673', '9009', 'i', 'R', 'S', 'Q', 'O', '6327', 'A', 'y', 'd', 'U', 'G', '2137', 'h', 'z', 'S', '6235', 'K', 'A', '5529', 'F', 7817, 'x', 2861, 'o', 3331, 'S', 'G', 173, 467, 7787, 2017, 'I', 'I', 'j', 'L', 6675, 5303, 2841, 8825, 8271, 7967]