Haskell, 61(削除) 61 (削除ここまで) 56 bytes
f l=foldl1(*)$zipWithf=product.zipWith(^)[x|x<-[2..],all((>0).rem x)[2..x-1]]l1]]
- saved 5 by stealing @Unrelated String advice to @M. Salman Khan answer.
Haskell, (削除) 61 (削除ここまで) 56 bytes
f=product.zipWith(^)[x|x<-[2..],all((>0).rem x)[2..x-1]]
- saved 5 by stealing @Unrelated String advice to @M. Salman Khan answer.