You and your friends Brutus and April are exploring an ancient temple when you encounter a locked door with a stone keypad next to it numbering 0, 1, 2 and 3.
Out of curiosity you decide to type in an answer.
1321
A booming voice then says,
Three of those numbers are correct in correct position
Your not so intelligent friend Brutus shoves you away and types in:
1333.
Now Zero of those numbers are correct in correct position says the Great Big Voice
Perplexed by this answer your friend April decides to test it by typing:
1322.
Now One of those numbers are correct in correct position says the Voice
Frustrated by the whole encounter Brutus smashes his fist into the keypad typing
1210.
Now One of those numbers are correct in correct position says the Voice.
However, Brutus broke the Zero Key. But no worries, you think for a second and then type the correct answer.
Well, what was it?
Hint:
No Modulo functions required.
Hint 2:
Could you use subtraction? Absolutely!