f = gets.to_i if f % 90 == 0 && f % 180 != 0 puts 'Yes' else puts 'No' end