The workplace is not very conducive for you to get your work done. Ask if there are any tasks that can be done outside of the office. Perhaps you can work from home or tackle a special task that doesn't involve others. Find an alternative path.