Prime factors of the wrapped matrix element

Company: Flipkart

Difficulty: medium