In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1183, 4275, 2049, 5389, 4873, 9923, 8039, 'J', 'H', 1379, 'E', 4675, 'D', 'r', '3361', 'N', '3807', 'i', '3617', '2551', '1653', 'w', 't', '9841', '2363', 'M', 'r', 's', 'm', '6161', 'w', '817', 't', 'U', 'S', 'w', 'a', 'M', 417, 7925, 7101, 3323, 'G', 2853, 'r', 8333, 233, 5729, 8769, 'z', 'S', 'L', 'F'], [3059, 8707, 6275, 'R', 3731, 443, 'n', 7471, 1231, 'b', 'y', 'A', 3935, '3361', 'N', '3807', 'i', '3617', '2551', '1653', 'w', 't', '9841', '2363', 'M', 'r', 's', 'm', '6161', 'w', '817', 't', 'U', 'n', 5103, 'k', 't', 5057, 1365, 9213, 7463, 'm', 2395, 4589, 'y', 'v', 'E', 5375, 'T', 9077, 'X', 1201, 8401]