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