Smallest critical sets for the Latin squares of orders six and seven