In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8651, 'I', 'R', 'Z', 3145, 'P', '6627', 'i', 'l', 'N', 'y', 'e', '5529', '1811', '2481', '189', '9333', 'F', '4665', 'z', 'd', 'Y', 'u', '7351', '1441', 'g', '1077', 'r', 1401, 947], ['R', 'c', 'C', 'R', 'b', 'F', 'Z', 'P', '6627', 'i', 'l', 'N', 'y', 'e', '5529', '1811', '2481', '189', '9333', 'F', '4665', 'z', 'd', 'Y', 'u', '7351', '1441', 'g', '1077', 'T', 'z', 8909, 'Z']