Nearly Lucky Number

Problem Name:
Nearly Lucky Number
Site:CodeForces
Links:
Tags:
Problem setters: