charbychar problem solution