Ranil is 10 years younger than Sunil. If Sunil is 17 years old, how old is Ranil?