Note:It will allow to enter number in range of 50-80. If you want to enter number other than range, it will show an error.