Fix problem B of 2010