It is September 9 in Japan now.

You are given a two-digit integer N. Answer the question: Is 9 contained in the decimal notation of N?

Constraints

* 10≤N≤99

Input

Input is given from Standard Input in the following format:


N


Output

If 9 is contained in the decimal notation of N, print `Yes`; if not, print `No`.

Examples

Input

29


Output

Yes


Input

72


Output

No


Input

91


Output

Yes
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String N = scanner.next();
		String result = "No";

		for (int i = 0; i < 2; i++) {
			if (N.substring(i, i+1).equals("9")) {
				result = "Yes";
			}

		}
		System.out.println(result);
	}

}