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