#!/usr/bin/env python3
w, h = map(int, input().split())
ans = []
for x in range(1, w+1):
    for y in range(1, h+1):
        print(f'? {x} {y}')
        if input() == 'horizon':
            ans += [x,y]
            if len(ans) == 4:
                print('!', *ans)
                exit(0)
assert False
