diff --git a/main.py b/main.py
index a8c46f3a2ee47b081dd8851c39ebfe8e2018967e..49fcdfd81264300c9032a7b51d6a434f7c3af3d8 100644
--- a/main.py
+++ b/main.py
@@ -141,6 +141,8 @@ def run_show_numbers(path):
     if choice ==1:
         clear()
         terme = int(input('Enter a number: '))
+        while terme < 0:
+            terme = int(input('Enter a number: '))
         t = app_functions.dec_to_church(terme)
         print('Voici le terme:',logic.to_string(t))
         logic.captureImage(t,path,'ENTIER'+str(terme),False)