def count_tiles(height, width):
    if height == 1 and width == 2:
        return 1
    if height == 2 and width == 1:
        return 1
    if height == 2 and width == 2:
        return 2
    
        