Unpleasant pairs of digits

Problem Name:
Unpleasant pairs of digits
Site:HackerEarth
Links:
Tags:
Problem setters: