standard input/output: 2s/128000 kB
A magic number is a natural number that contains
both the digits 7 and 9 in it. For eg:- 79, 879,53729
etc.
Given a number N, your task is to find the closest
Magic number from the given number N.
Note:- If more than one answer exists return the
minimum one
Answers
Answered by
17
Explanation:
झज्जर I hate you and can't make you a very bad guy but I'm going out to a friend h I hate to say I can't wait till I can I get to go and I
Similar questions
Math,
1 month ago
India Languages,
1 month ago
Math,
1 month ago
Psychology,
3 months ago
Math,
3 months ago
Chemistry,
9 months ago
Math,
9 months ago