char solution