diff --git a/ex1/ex1.c b/ex1/ex1.c
index ad790f38e2a4c23f1ed485fdca8b1a019037c339..1ee902f44f8f6f28aafe7288983b6fe1618d2e98 100644
--- a/ex1/ex1.c
+++ b/ex1/ex1.c
@@ -9,5 +9,30 @@
 #include <stdbool.h>
 
 int main() {
+    const int ARRAY_LENGTH = 8;
+    int *array = malloc(sizeof(int) * ARRAY_LENGTH);
+    int drop_count = 0;
+    int drop_total_value = 0;
+
+    // Get the values
+    for (int i = 0; i < ARRAY_LENGTH; i++) {
+        int value;
+        scanf("%d", &value);
+        array[i] = value;
+    }
+
+    // Parse the values
+    for (int i = 1; i < ARRAY_LENGTH; i++) {
+        if (array[i] < array[i - 1]) {
+            drop_count++;
+            drop_total_value += array[i - 1] - array[i];
+        }
+    }
+
+    // Display the results
+    printf("%d %d\n", drop_count, drop_total_value);
+
+    // Free the memory and exit the program
+    free(array);
     return EXIT_SUCCESS;
 }