program main
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int32):: a,b

    read*, a,b
    if (a <= 8 .and. b <= 8) then
        print'(a)', 'Yay!'
    else
        print'(a)', ':('
    end if
end program main