PrimeDigital Problem Statement modified Code.