Answer to the three doors riddle