Given the task definition and input, reply with output. Generate a correct and concise answer for the question based on the words in the context.

Context : The Battle of the Barents Sea was a naval engagement on 31 December 1942 between warships of Nazi Germany's Kriegsmarine and British ships escorting convoy JW 51B to Kola Inlet in the USSR.
Question : When did Battle of the Barents Sea occur?
31 December 1942