#include <stdio.h>
int main()
{
    int a, b;
    printf("enter time:", a, b);
    scanf("%d %d", &a, &b);
    a+b;
    printf("%d\n", a+b);
    0<=a;
    printf("%d\n", a);
    b<=23;
    printf("%d\n", b);
    if(a+b>24)
    {
        printf("\n the current time is %d o'clock, and %d hours later it will be %d + %d o'clock in 24-hour time", a, b, a+b-24);
    }
    return 0;
}
