Everyday, six prisoners: numbered #1 #2 #3 #4 #5 #6 were randomly
locked-up inside six prison cells: [1] [2] [3] [4] [5] [6]...
No one have any information about the other locked-up prisoners.
They do not have any means of communications once inside the closed room.
During a dinner the warden offered the prisoners to participate in a game of chance.
Anyone who can guess all the prisoner's # in every prison cell correctly
shall be freed together with one of the other prisoners he selects.
If the guess is wrong, both of them shall be hanged.
Anyone who wont guess will be hanged.
For accepting his challenge he would grant the prisoners request that
one of the prison cells must contain a boxed dice to play and share.
Provided they can only send it once to other cell and received it once
from other cell with the assistance of prison guard.
The six prisoners talked it over and all agreed to take the challenge.
On the next day they were all locked-up with blindfold ..
but they were all saved by the dice.
How can this be done?