#include <stdio.h>
#include <stdlib.h>
int main() {
char str[] = "24 degrees";
int amount = atoi(str);
printf("%d", amount);
return 0;
}