In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4837, 3779, 499, 1057, 'G', '9135', '4115', '573', '7269', 'O', '8115', '2655', 'x', 'H', '9827', '4625', '3737', 'i', 'Z', '2455', 'R', 'V', 'T', 5003, 'O', 9539, 'r', 8459, 9261, 'q', 7311, 'D', 's'], [8995, 'O', 'G', '9135', '4115', '573', '7269', 'O', '8115', '2655', 'x', 'H', '9827', '4625', '3737', 'i', 'Z', '2455', 'R', 'V', 'H', 'X', 'C', 1749, 'a', 'U', 'w', 'U', 'N', 6551, 9557, 1459]