{"problem":{"name":"String Delimiter","description":{"content":"You are given a string $S$ of length $N$ consisting of lowercase English letters, `,`, and `\"`. It is guaranteed that $S$ contains an even number of `\"`. Let $2K$ be the number of `\"` in $S$. For each","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc282_c"},"statements":[{"statement_type":"Markdown","content":"You are given a string $S$ of length $N$ consisting of lowercase English letters, `,`, and `\"`. It is guaranteed that $S$ contains an even number of `\"`.\nLet $2K$ be the number of `\"` in $S$. For each $i=1,2,\\ldots,K$, the characters from the $(2i-1)$\\-th `\"` through the $(2i)$\\-th `\"` are said to be **enclosed**.\nYour task is to replace each `,` in $S$ that is **not** an enclosed character with `.` and print the resulting string.\n\n## Constraints\n\n*   $N$ is an integer between $1$ and $2\\times 10^5$, inclusive.\n*   $S$ is a string of length $N$ consisting of lowercase English letters, `,`, and `\"`.\n*   $S$ contains an even number of `\"`.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc282_c","tags":[],"sample_group":[["8\n\"a,b\"c,d","\"a,b\"c.d\n\nIn $S$, `\"a,b\"` are enclosed characters, and `c,d` are not.\nThe `,` in $S$ that is not an enclosed character is the seventh character from the left in $S$, so replace that character with `.` to get the answer."],["5\n,,,,,","....."],["20\na,\"t,\"c,\"o,\"d,\"e,\"r,","a.\"t,\"c.\"o,\"d.\"e,\"r."]],"created_at":"2026-03-03 11:01:13"}}