write a program in java to enter a year and find out the first day of that year