print max month and year