In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9995, 'Q', 'V', 4085, 'N', 89, 3301, 'g', 'D', 'U', 'B', 'Y', 'Z', '8137', '4789', '7667', '4047', '397', '9603', '1375', '10027', '7525', '1935', '4155', 'V', '4695', 'A', '6837', '8223', '7023', '5569', 'c', 'v', 'P', '8925', 'x', 'c', 4979, 'W', 'u', 'Y', 7869, 6595, 8479, 'K', 5281, 'Y', 'F', 7593, 737, 'A', 8649], ['N', 8515, 'o', 'h', 'm', 'i', 2057, 'H', 6629, 'P', 'k', 5611, 'g', 3765, 8459, 'a', 4887, 'w', 6237, 4743, '8137', '4789', '7667', '4047', '397', '9603', '1375', '10027', '7525', '1935', '4155', 'V', '4695', 'A', '6837', '8223', '7023', '5569', 'c', 'v', 'P', '8925', 'r', 'n', 3859, 'j', 7687, 'U', 'L', 'k', 2719, 6271, 'J']