**PROBLEM LINK-:** CLICK HERE

**PROBLEM SETTERS-:** @aliencoder_07 @dcpandey

**EDITORIALIST-:** @dcpandey

**DIFFICULTY-:** Easy

**PREREQUISITES-:** Math,Algorithms

**PROBLEM-:** The password to the mainframe of the alien ship is the sum of the first N digits after the decimal point in the decimal representation of the number P/Q.

**EXPLANATION-:** We can get the sum of each digit simply by iterating N times and calculating the value of the digit at the i’th position 1<=i<=N.

**SOLUTION-:** CLICK HERE