diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-12-20 19:31:13 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-12-20 19:31:13 +0100 |
commit | f6ecf88a2d9da1f140abedc52a0b9b46108a6563 (patch) | |
tree | fa336b0f152d821c3e58249b891aee2fc57e88ea /day19 | |
parent | 868e907bdec033e993e02a6208d6ec6c96402e4f (diff) | |
download | adventofcode2017-f6ecf88a2d9da1f140abedc52a0b9b46108a6563.tar.gz adventofcode2017-f6ecf88a2d9da1f140abedc52a0b9b46108a6563.tar.xz adventofcode2017-f6ecf88a2d9da1f140abedc52a0b9b46108a6563.zip |
day19
Diffstat (limited to 'day19')
-rw-r--r-- | day19 | 201 |
1 files changed, 201 insertions, 0 deletions
diff --git a/day19 b/day19 new file mode 100644 index 0000000..99c6fe6 --- /dev/null +++ b/day19 @@ -0,0 +1,201 @@ + | + | +---------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | | | + | +-------------------------------------------+ +-------------+ +---------------+ +-------------------------------------+ + | | | | | | | | | + | +-----------------------------|---------+ | +-+ +-------+ +---+ | | | +-----------|-----------------------------------------+ +-----------+ + | | | | | | | | | | | | | | | | | | | + | | +---|---|---|-------------------------------|---|-------|-------------|---|---------------|---------------------------------------------+ | + | | | | | | | | | | | | | | | | | + | +-----------------+ | +---------|--------------------------B----------+ +-------------|---|---|-----------|---------------------|---------------+ | +---+ +-+ | + | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | +-|---------|-------+ | +---------------------------------------+ | | +-|---|-------+ | + | | | | | | | | | | | | | | | | | | | | | | | + | | | | +---------|-|---------------|---------+ | +-----|-------+ | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | + | | +---------|-------------|-----|-|-------+ | +-----|-----|-------------------+ | +-------------------+ | +---------------------|-----|-------+ + | | | | | | | | | | | | | | | | | | | | | | | + | +---------------------------------------+ | +-|-+ | | | | +-+ +-------|-|-|-+ | | | | | | | +-+ | + | | | | | | | | | | | | | | | | | | | | | | | | | + | | +-|-----|-|-+ | +---------|-----|-----------|---|---+ +-|-|-----+ +-|-+ +---------+ +-------+ | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | +---|-----|---------|-----|-----|---------|---|-|-|-|---|-|-----|-|-|-----------------------------|-------+ | | | +---+ | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | +---------------------------------|---------|---|---|-|-------------|-------------------|-----------+ +---------|-|-+ | | +-+ | | +-------------+ | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | +-+ +-+ | | | | | | | +-----------|-----+ | | +-----------|---+ | | | +---|-+ | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | +-------------------------|---------|-|-----|---|---------------|-----|---------|-----|---------------|-------|-------------|---+ | | | +---|---|-|-|-------|-+ | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | +---+ +-------------------------------+ +-|-+ | | | | | | | | | | | +-----+ | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | +---|---|-----------------|-----------|-------------------|-----------------|-------------|-----------------------------|-----------------|---|-|-+ | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | +-+ +-------------|---------|-|---|-------+ | | | | | | +-----|-----------------------------------|-|-+ +-------|---------|-----|---|---------+ | +-----+ | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | +---------|---|-----+ | +-|-------------|-----+ | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +---------------------------------------------|---|-|-+ | | | | | | +-------------+ | | | +-----|-|-|-------|-------|---------------|---|-------------+ | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | +---------------+ +-------|---|-|-+ | | | | +---|---|-----|-----|---|---|-------------------------------|---------|-|-----|-+ | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | +-|-------|-----|-----------|-------|-|---|-------------------|-|---------|-----|-------|-----------|-|-|-|-----------------------|-----|---+ | | | | | +-----+ | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | +-+ | +-|---+ | | +-------+ | | | | | | | | | | | | | | | | +---+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | +-|---------------------|-------|-+ | | | | | +-------|-|-------------------------+ | +-----|---------------------+ +---+ +-------|-----+ | +-----|-------------|---------|-|---+ +---+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | +-|-----|-------|-----+ | | | | +---------------|-|-----------|---+ +-----|-----+ +---|-------------------------|---|---|-|-|-|---+ | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | +-----------------|-----|---|-----------|-------|-----|---+ | +-+ | | | | | | | | | | | | | +-|-+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | +---+ | | | | +---------------------------------------|-----|-|-------|---|-----------------------|-|---|-------------------|-----------|-+ | +---+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | +-+ | | | | | | | | | +---|-|-+ | | | +-------|---------|-----------------|-------------|-----------|-----------|-----------|-----|-----------|-+ | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | +-------|---------|---|-----|-----|-|-|---|-----------|-------|-------------+ | +-----|-------|-+ | | | | | | | | | | | +---|---|-|-|-|-|---------+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | +---------|-|-----|---------------|-|-------|---|-------------------------|-----|-|-|---|---|-------------|-------------|-----+ | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | +-------------|-----|-|-----+ | | | | | | | | | | | | | | | | | | +-----|-|-|---+ | | | | | | +---|---|---|-----+ | +-+ | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | +-------|-|-----------|-------------|---|-|-----------------------|---+ | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | +---|-----|-----|-----|-|-----|---|-------------|-----------|-|---|-|-------------|-+ | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | +-----|-------------------------------|---|-|-----------------|---|---|---------|-----|-----|-----|-|-|-----|-|-|-------------+ | | | | | +-|-|-|---|---|-|-------+ | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | +-|---------------|-----|---------|-----|-|-|-------------|---------|U|---------------+ | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | +-+ | | | | | | | +-|---|-------------|-+ | | +---|---------|-|-----|-+ | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | +-----|-------|-----|-------------|---|---|-|-----------|-----------------------|-----|---------------------|-|-------------|-----------|-|-+ | | | | | | | | | | | | +-----+ | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | +-|-----|---------|-|---------------|-|---------------|---|-----+ | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | +---------+ | | | | | +-----|-------+ | | | | +-----------------------------------|-|---------------+ | | +---|-|-+ +-+ | | | +-------|-|-|-|---|-|-|-+ | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-----+ | | | +---+ | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | +-------+ | | | | | | +-|-|-------|-----|-|---------|-----------|-+ | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | +-----|---|---|-|-----|-----|-----------------------------------|-----|-----------------|---------|-------|---------|-----+ +-------+ | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | +-------------|-|-----|-----|---|-|-|---+ | | +-|-----------------------|---|-|---------|-----|---|-|---|---------|-------------|---------|-+ | | +-----|-----|---|---|---+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +-|-----|-------|---------------------|-----|---|-|---|-------|-----------|-|---------------------|-|-----|-----|-|-|-----|-|-|-----|-----|---|-------+ | | +-----|-|-----|---|---|---|-|---|---+ | | + | | | | | | | | | O | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +---|-----|-S | | | | | +-+ | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | +---|-|---|-|---------------|-|-|-------|---+ +-|-------|-----|-------|---+ | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | +-------|---|---|-------|-------|-----------------------|-|-------------------------|---------+ | | | | | | +-+ | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | +-----|-------|-------|-----+ | | | +-|-|-----|-----|---|---+ | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | +-|---|---|-----------|-------|-----|-----|-|---------------|-----|-|-|-------------------|-|-|---------+ | | | | | | | | | | | +-------------|-+ | | | | | | +---+ | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +---|---|-+ | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-----------|-+ | | | | | +---|---+ | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | +-|---------------|-|-----------|-----|-----|---|-----|-------|-------------+ | +-------|-+ | | | | | | | | | | | | +---------|---|-----------|-----|---------|---|-------|-+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-|-|-+ | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | +-|-|-------|-----|---|---------|-|-----------+ | | | | | | | | +---|---|-|-|-|-------|---------|---|---|-+ +-+ | +---|-------+ | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | +-------------------|-------|-------|-----------|---|-|-----------------|-----------|-------|-----|-+ +-------|-|---|-------------------------|---|-------------|-|---------|-+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | +---------------------------|---|-----|-----------------|---|-|-|-|---|-------------|-|---------|-+ | | | | | | | | +-|-----|-----------|-------|---|-----|---|-+ | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | +---|---------------------------|-------------|-------------------|-|-|-|---------+ +-----|-----------|-----|-|-|---|-------------|-|-------+ | | | | | | | | +-----------+ | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | +-----|-----|---|---|---+ | | | | | +-------|-----|-----------|---------------|-------|---|-------------------|-+ | | | | | | | | | +-|-----|---|-|---|-|-+ | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | +-+ | | | | | | | | | | | | | | | | | | | | | | | | +-------|-|-|---|-----------|---|---|---|-----|-----|-|---------|-----------|-|-|-|-+ | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | +---|---------|---+ | | | | | | | | | | | | +-----|-|-+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | +---------|-----|-|-----------------|-------|-------------------|-|---|---|-|---|-------+ | | | | | +-|---|-+ | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | +-----|-----------------|---|-|---|---|---------+ | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | +-------+ | | | | | | | | | | | +-|-|-------+ +-------------|---+ | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-------+ | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | C | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | +---------------------|-|-----|-|-----------------|-----|-------------+ | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-|-----|-+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | +-----|-+ | +-------------|-----------|-----------------+ | +-|-|---|-----------+ | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | +---|---|-------|---------------|---+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | +-|-|---|---|-------|---|-------|-----+ | | +---+ | | +---|---------|---------------------+ | | | | | | | | | | +-------|-|---|-|-|-|-+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | +-+ | | | | | | | | | +-+ | | | | | | | | +---------|-------|-|-----------|-|-----------|---|---|-----|---|-----+ +---|---------|-------|-----|-+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | +-------------|-|-------|-------------|-|-+ +---|---|-------|-----|---------|---+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | +-|---|---------------|-------|-------|-----------------|---|-----+ | | | +---------|---------|-------------|-------|---------------+ | +-+ | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | +-|---------|---+ | | | | | | | | | | | | | | +---------|---------------------------|-----|---------------|---------------------|-|-|---+ | | +-+ | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | +-|-------------|-----------------|-|-------------|-+ | | | | | +-----|-------|-----|-----|-|-------|-----|-|-------+ | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | +-|-----|-|-----|-------------------+ | | | +-+ | | | | | | | | | +-----+ | | | | | | | | +---|---|-|---|-+ | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +-----------------|---+ +-----+ | | | | | +---|---|-----------|-|---------------|-----|-----|-------------|-|-------------------+ | | | | | | | | | | +-|---|-+ | +-+ | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-------|-----|---+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +-|-------------------------------|-------|---------|-------------|-|---|-----------+ | | | | | | | +---------------------------|---------------|-------|-|---------+ +---|---|-|-|-|-+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | +---|-----------------+ | | | | | | | | +-|---|---------------|-----|-|-----|---------|---------|-+ | | | | | | | +---|---|---|---|-------------+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | E | | | | | | | | | | | | | | | | + | | | | | | +-----+ | | | | | +-------|-|-|-------------|---|---------|-------|-----|-----|-------|-----+ | | | | | | | | | | +-|---|-|-|-|-+ | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | +-|-----|-----|-------|-|-----------------|-|-----------|-----+ | +---|-------|-----|-------|-----+ | +---|-------------|-------------|-------|-----------|---+ | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | +---|-+ | | | | | | | | | | | | +-|-------------|-|-----------+ | | | | +-------------------|-+ +---------------|---------|-|-|-|---------|-----+ | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | +-|-|-----|---------------------+ | | | | | +---------------+ | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | +-------|-|---------|-----|---|-|-|-|---+ +-|-+ | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + +-------+ | | | | | | +---|-|-------------|-----|-----------------------|---------------------+ | | | +-----------|-------------|---------|-|-|-|-------|-----+ | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | +-------|-----------+ | | | | | | | | | | | | +-----------|-|-----------|---|-------|-----------|---------|-|-|---------|-+ | | +-|-|-|---|-|-+ +-+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | +-------+ +---------------------|---|-|-|---------|------M------------+ +-|-----------------------|---------------|-|-----|-|-|--W--------+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | +-----------------------------------+ | | | | | | | | | +---|-------------------+ | +-----------|-----------|-------------+ +---|-------+ + | | Q | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | +-------------|-------|-------------|-------------+ | | | | | | | | +---|-------|---------------|---|-------------|-|-------------------+ + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | +---+ | | | | | | | | | | | | +---|-----------------|-----------------------|---|---------|---|-+ | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | | | +---------+ | | | | | | | +-----------|-----|---|-----+ +---------------|-------------+ | | +---+ | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | + | | +-------------------+ | +-----|-|-----------|-|-------------|-----|---|-----+ +-----------|-|-|-----------------------|-----|-+ +-+ + | | | | | | | | | | | | | | | | | | | | | | | | + | | | | | +-|---|---------+ | | | +-------|-----------+ +-----------------+ +-------|-|---+ +-+ | + | | | | | | | | | | | | | | | | | | | | | | | | + | | +------A----------------------------------|---------------------------------+ | | +---------------|-------|---------------------+ | +-|---+ +-|-----+ | | + | | | | | | | | | | | | | | | | | | | | | | + | | | | | | | | | | | +---+ +-------------+ +-+ +-----------+ | +-+ | + | | | | | | | | | | | | | | + +-------------+ +-----------------------------------------+ +-+ +---+ +-----------------+ +-------------------------------------------------+ +---------+ + |