#!/bin/sh
read a b
num1=`expr $a + $b`
if [ $num1 -ge 24 ]; then
  num2=`expr $num1 \- 24`
  echo $num2
else
  echo $num1
fi
# read a b c d
# num1=`expr $a \* $b`
# num2=`expr $c \* $d`
# if [ $num1 -gt $num2 ]; then
#   echo $num1
# else
#   echo $num2
# fi