read n ((n%90==0&&n/90%2)) && echo Yes || echo No