problem A & B, easy