Akash Vikash and Bromance - B

0

0 votes
Easy-Medium
Problem

Akash and Vikash are so good friends that they are often called as brothers. They both are passionate of problem solving. Akash has his favorite number 7 and Vikash has his favorite number 0.

They believe that multiple of any number can be constructed with their favorite numbers. They define this property to be the Bromance Factor which reflects the bond between the two brothers.

Now they challenge you to come up with their bromance factor, he least possible number which is a multiple of the given number and is formed by only 0s or only 7s or both.

Your Input : 170

NOTE You do not need to create a program for this problem you have to write your answers of given input in given code snippet

  • To see how to submit solution please check this link

Compile and Test can give Wrong Answer. Once you have written your answer, print Submit button to check your result.

Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?