Added curly brackets {} to forbidden symbols in input