print locality name as well as rank