During the study, the researchers asked volunteers to decide whether to add or subtract two numbers they were later shown on a screen.

Before the numbers flashed up, they were given a brain scan using a technique called functional magnetic imaging resonance. The researchers then used a software that had been designed to spot subtle differences in brain activity to predict the person's intentions with 70% accuracy.