Fixed encoding and problem statement