diff --git a/script/show_solutions b/script/show_solutions
index d398e6525bc918b1df4e751bbfe79d8ad9921169..c1f49a6a277385d5c85e51e865eb11850c620fd8 100755
--- a/script/show_solutions
+++ b/script/show_solutions
@@ -18,7 +18,11 @@ function possible_solutions {
  sol=`expr $sol + 1`
  echo "$sol exit the script"
  echo -e "\033[1;34;5mChoose the solution:\033[0m"
- read choose
+ if [ -f default_choice ]; then
+   choose=$(cat default_choice)
+ else
+   read choose
+ fi
  if [ x"$choose" = x"$sol" ]; then
   exit 1
  fi