print<>=~/^9*$/?Yes:No