In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[821, 2159, 'j', 's', 9357, 7833, 'l', 6311, 'S', 3991, 'k', 'p', 5695, 'e', 8919, 'S', 'T', 3339, 7589, 'J', 'v', 'z', 'l', '8523', '9589', 'd', '6565', '573', '465', 'J', '7561', 'E', 'i', 'L', '3247', 'W', 'C', '4585', '9403', '1941', 'T', 'V', 'L', 267, 'n', 'B', 's', 661, 1507, 'o', 5227, 6559], [9007, 3147, 'R', 1559, 'r', 'R', 'z', 331, 'J', 'v', 'z', 'l', '8523', '9589', 'd', '6565', '573', '465', 'J', '7561', 'E', 'i', 'L', '3247', 'W', 'C', '4585', '9403', '1941', 'o', 'F', 's', 'e', 1185, 'N', 'c', 'u', 'Z', 9849]