UXD & Engagement Maps
In Sports
- 20% of training time is lost due to illness or injury
- 30% of injuries reoccur within 12weeks time
- 91% of high-performance work requires tracking data
- Athletes should train when they are 100% fit/healthy
- Being aware
- Ongoing activity
- Positive experience
- Goal focused
- Enhanced relationship with own health/wellbeing
- Fitness data – feedback
- Repeated correct/incorrect training behaviour
- Training load
- Indicators of injury or illness risk
Interactive technology in sports
MODBOX interactive product
03 interactive functions in design criteria:
1) Help users track their progress
2) Support their health/wellbeing habits
3) Facilitate remote interaction with their coach or peers
Function #1: Tracking Performance
Function #2: Support Health Goal | Tech as Proactive Approach to Health
Injury is:
• Reduced ability to do and go about an everyday routine
• Need to manage a chronic or short/long term condition
Function #3: Remote Interaction | What data/information do end-users need?
UXD people’s experiences of sports in everyday life or routines
• What are the pain points? (negative experiences)
• What are the current/potential touchpoints with a sports technology (product)?
Tech Task
This week saw the Tech Task being due, which had us presenting our scifi monstrosities on Friday.
include
int fullPin = 5;
int bagPin = 3;
int buzzerPin = 9;
int ledPin= 10;
int ledPin2= 12;
int tiltPin= A5;
int sensorValue;
int val = 0;
int val2= 0;
int speaker= 11;
int distance;
int dangerDistance;
int tooCloseForComfort;
define echoPin 6
define trigPin 7
const unsigned char munch[] PROGMEM = {
126, 126, 127, 128, 130, 129, 127, 126, 126, 127, 127, 128, 129, 130, 129, 127, 127, 127, 129, 130, 127, 125, 127, 128, 128, 128, 126, 126, 127, 127, 126, 127, 129, 130, 129, 128, 127, 126, 128, 129, 128, 128, 128, 128, 128, 128, 128, 128, 127, 128, 129, 130, 129, 129, 127, 127, 129, 129, 129, 131, 130, 127, 127, 126, 126, 130, 130, 127, 126, 127, 127, 129, 127, 125, 126, 126, 126, 127, 128, 128, 128, 126, 125, 127, 128, 131, 134, 132, 129, 128, 126, 126, 127, 129, 129, 130, 129, 126, 126, 127, 127, 128, 129, 130, 129, 128, 127, 127, 127, 127, 128, 128, 127, 128, 127, 126, 126, 127, 127, 128, 129, 127, 127, 127, 125, 126, 127, 126, 127, 128, 127, 126, 127, 127, 126, 127, 126, 126, 128, 128, 127, 127, 127, 126, 128, 128, 127, 128, 127, 126, 127, 126, 125, 126, 126, 126, 126, 126, 125, 126, 126, 126, 127, 126, 127, 127, 128, 128, 127, 128, 128, 128, 127, 127, 127, 127, 128, 128, 127, 128, 128, 128, 129, 128, 127, 129, 129, 129, 129, 128, 127, 128, 127, 128, 128, 128, 127, 127, 127, 126, 127, 128, 127, 127, 127, 127, 128, 128, 128, 128, 128, 128, 128, 128, 127, 128, 127, 128, 128, 128, 127, 127, 127, 128, 128, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 126, 127, 127, 128, 129, 128, 127, 127, 126, 128, 129, 129, 128, 127, 127, 128, 128, 128, 127, 126, 127, 129, 129, 128, 126, 126, 127, 128, 127, 127, 128, 129, 129, 128, 126, 126, 125, 126, 129, 130, 130, 127, 122, 124, 125, 129, 133, 129, 127, 124, 122, 127, 129, 130, 130, 126, 125, 126, 127, 128, 127, 127, 129, 127, 129, 127, 125, 128, 127, 130, 131, 126, 128, 125, 125, 129, 129, 132, 130, 126, 124, 124, 129, 130, 129, 126, 126, 128, 129, 130, 126, 127, 128, 127, 131, 132, 134, 130, 123, 122, 124, 132, 133, 132, 133, 127, 126, 123, 123, 132, 134, 135, 127, 121, 125, 125, 128, 128, 130, 134, 128, 122, 123, 127, 133, 134, 130, 122, 125, 128, 122, 125, 127, 125, 128, 122, 115, 115, 121, 127, 127, 130, 124, 116, 123, 118, 120, 132, 133, 129, 120, 120, 122, 124, 137, 131, 125, 130, 125, 128, 131, 125, 130, 130, 125, 131, 131, 132, 140, 131, 132, 134, 128, 135, 134, 131, 138, 140, 131, 125, 134, 123, 123, 137, 121, 124, 126, 121, 121, 101, 107, 113, 115, 135, 125, 122, 121, 104, 103, 114, 132, 145, 151, 131, 117, 129, 125, 140, 158, 152, 150, 136, 112, 94, 111, 136, 140, 153, 143, 119, 113, 109, 118, 124, 133, 138, 127, 127, 123, 129, 131, 124, 132, 131, 130, 128, 121, 120, 111, 114, 135, 130, 120, 129, 116, 99, 117, 113, 113, 141, 130, 112, 113, 111, 108, 124, 152, 146, 127, 134, 129, 123, 143, 148, 138, 137, 146, 143, 148, 159, 148, 145, 153, 149, 140, 144, 151, 138, 132, 143, 130, 122, 130, 126, 134, 133, 125, 121, 112, 106, 92, 98, 110, 105, 115, 121, 107, 93, 88, 77, 82, 114, 119, 114, 111, 101, 94, 97, 125, 139, 142, 137, 131, 133, 117, 140, 135, 127, 179, 145, 138, 166, 134, 143, 148, 165, 167, 140, 141, 112, 138, 156, 139, 169, 147, 132, 123, 108, 136, 136, 124, 126, 143, 132, 125, 140, 112, 115, 112, 91, 121, 126, 122, 111, 112, 112, 86, 98, 91, 105, 130, 126, 151, 142, 140, 142, 105, 116, 133, 126, 143, 181, 172, 153, 166, 134, 129, 142, 132, 133, 118, 149, 162, 156, 179, 157, 137, 112, 107, 125, 133, 144, 119, 115, 118, 96, 91, 73, 71, 58, 58, 110, 91, 89, 74, 13, 85, 128, 124, 174, 127, 57, 99, 140, 154, 237, 222, 121, 133, 129, 153, 247, 247, 234, 200, 152, 143, 140, 173, 164, 146, 147, 132, 117, 92, 80, 75, 69, 83, 89, 81, 64, 26, 43, 60, 67, 95, 122, 103, 100, 114, 72, 128, 107, 115, 194, 162, 173, 156, 165, 151, 133, 191, 159, 156, 160, 148, 195, 132, 140, 149, 91, 147, 118, 160, 172, 87, 104, 102, 95, 140, 159, 153, 157, 124, 120, 123, 129, 131, 149, 142, 128, 118, 108, 129, 89, 115, 94, 91, 104, 102, 130, 125, 137, 98, 118, 89, 138, 199, 104, 137, 134, 47, 98, 148, 160, 200, 197, 160, 95, 129, 95, 110, 215, 223, 244, 228, 188, 115, 106, 125, 152, 148, 163, 132, 81, 103, 65, 98, 75, 75, 92, 61, 67, 92, 83, 62, 109, 134, 115, 69, 66, 0, 23, 101, 142, 249, 245, 214, 155, 127, 101, 138, 201, 227, 255, 255, 230, 187, 120, 113, 112, 138, 226, 132, 167, 152, 40, 45, 69, 73, 65, 154, 63, 70, 111, 50, 79, 109, 128, 104, 87, 65, 86, 136, 180, 189, 225, 205, 167, 169, 164, 175, 177, 190, 134, 142, 168, 174, 172, 189, 200, 157, 86, 14, 48, 65, 80, 151, 191, 95, 56, 23, 26, 114, 121, 167, 145, 147, 139, 173, 204, 125, 52, 1, 1, 49, 220, 255, 232, 208, 88, 15, 39, 59, 114, 183, 188, 223, 199, 149, 120, 44, 60, 176, 184, 183, 155, 110, 57, 11, 134, 144, 139, 142, 79, 79, 98, 154, 78, 0, 40, 39, 35, 162, 251, 211, 160, 94, 22, 47, 119, 142, 234, 255, 255, 227, 171, 132, 84, 84, 110, 151, 198, 178, 161, 144, 91, 57, 51, 77, 70, 96, 145, 145, 138, 103, 82, 46, 40, 35, 98, 229, 194, 174, 190, 106, 56, 115, 146, 158, 207, 179, 144, 139, 99, 111, 163, 155, 171, 187, 106, 84, 116, 112, 138, 184, 206, 116, 83, 100, 35, 94, 185, 187, 136, 28, 17, 67, 62, 162, 255, 198, 140, 195, 54, 0, 133, 160, 126, 240, 255, 170, 185, 105, 19, 91, 142, 183, 207, 162, 100, 78, 62, 82, 103, 97, 120, 78, 63, 111, 112, 38, 32, 99, 80, 83, 174, 189, 133, 135, 109, 79, 137, 161, 148, 174, 138, 128, 190, 172, 162, 200, 167, 98, 88, 76, 99, 174, 174, 118, 110, 83, 37, 80, 123, 158, 181, 152, 35, 0, 73, 53, 95, 255, 243, 157, 183, 79, 0, 80, 155, 202, 255, 253, 178, 115, 99, 79, 102, 185, 225, 165, 129, 113, 80, 82, 154, 157, 123, 154, 108, 74, 98, 88, 70, 99, 123, 108, 114, 140, 168, 163, 147, 124, 45, 82, 172, 208, 224, 231, 211, 124, 48, 80, 133, 156, 183, 155, 143, 138, 124, 124, 135, 120, 112, 151, 143, 46, 47, 130, 97, 83, 224, 216, 54, 97, 116, 16, 73, 203, 148, 88, 224, 203, 110, 162, 173, 106, 85, 143, 137, 136, 151, 142, 120, 116, 111, 125, 134, 121, 128, 92, 52, 85, 123, 90, 175, 228, 156, 139, 132, 71, 57, 127, 166, 181, 237, 242, 148, 123, 129, 94, 116, 169, 188, 160, 168, 154, 108, 93, 93, 83, 152, 187, 27, 0, 94, 128, 64, 170, 224, 104, 70, 99, 57, 55, 174, 177, 188, 237, 199, 137, 118, 124, 120, 129, 159, 138, 139, 140, 120, 148, 147, 111, 108, 125, 99, 76, 54, 72, 121, 116, 158, 179, 127, 110, 112, 68, 48, 108, 146, 152, 169, 201, 171, 162, 130, 98, 121, 132, 162, 136, 131, 152, 113, 103, 145, 106, 82, 144, 118, 45, 86, 133, 76, 112, 176, 114, 111, 185, 117, 58, 165, 166, 77, 143, 192, 131, 183, 188, 88, 75, 131, 131, 141, 176, 114, 80, 98, 88, 148, 152, 43, 30, 89, 86, 113, 230, 193, 93, 94, 99, 60, 87, 168, 163, 172, 236, 179, 118, 150, 119, 61, 93, 161, 151, 160, 188, 174, 113, 88, 95, 116, 108, 39, 107, 183, 143, 142, 159, 122, 66, 94, 100, 103, 152, 150, 105, 143, 177, 118, 130, 170, 167, 99, 94, 91, 90, 115, 142, 166, 170, 156, 99, 86, 82, 74, 42, 97, 179, 141, 150, 201, 174, 78, 89, 108, 79, 167, 192, 172, 218, 140, 77, 125, 90, 142, 176, 132, 133, 157, 120, 54, 140, 144, 107, 186, 107, 74, 173, 95, 24, 23, 115, 119, 88, 220, 210, 100, 127, 112, 17, 90, 208, 127, 130, 254, 171, 120, 153, 109, 114, 158, 163, 140, 171, 132, 74, 108, 97, 110, 93, 105, 87, 113, 135, 123, 140, 71, 120, 79, 60, 129, 129, 181, 148, 178, 140, 87, 163, 120, 152, 166, 107, 97, 160, 135, 148, 183, 122, 127, 84, 141, 155, 103, 88, 63, 117, 99, 164, 173, 110, 128, 94, 95, 53, 107, 156, 194, 178, 104, 189, 87, 87, 174, 98, 175, 127, 183, 160, 89, 194, 92, 120, 108, 131, 106, 12, 125, 122, 109, 209, 190, 75, 81, 130, 54, 107, 199, 176, 201, 170, 119, 87, 94, 118, 148, 216, 175, 111, 110, 81, 122, 70, 40, 148, 124, 90, 194, 166, 91, 142, 97, 24, 57, 163, 119, 143, 251, 172, 130, 153, 112, 49, 73, 142, 162, 183, 160, 131, 144, 94, 91, 124, 150, 125, 152, 169, 105, 121, 155, 74, 67, 160, 124, 132, 127, 118, 129, 123, 124, 124, 146, 160, 137, 114, 144, 153, 85, 111, 149, 123, 152, 198, 169, 126, 91, 0, 106, 165, 207, 174, 154, 150, 33, 144, 59, 80, 177, 87, 181, 138, 130, 200, 55, 143, 144, 114, 156, 99, 146, 159, 141, 188, 66, 4, 104, 121, 114, 181, 215, 132, 102, 89, 59, 43, 182, 150, 119, 188, 150, 135, 162, 108, 100, 115, 122, 184, 140, 153, 107, 81, 121, 157, 148, 126, 100, 64, 114, 181, 146, 150, 129, 106, 79, 84, 111, 118, 195, 163, 133, 117, 137, 125, 129, 153, 140, 132, 126, 136, 118, 102, 121, 131, 169, 138, 114, 94, 63, 108, 131, 157, 142, 164, 136, 100, 103, 118, 130, 140, 156, 133, 132, 140, 157, 131, 113, 152, 141, 137, 131, 124, 128, 102, 154, 151, 102, 95, 70, 92, 162, 174, 148, 136, 114, 72, 57, 125, 148, 158, 188, 137, 143, 151, 102, 104, 136, 154, 148, 165, 177, 113, 115, 128, 65, 95, 129, 133, 124, 138, 161, 108, 105, 103, 66, 90, 144, 165, 143, 155, 153, 112, 123, 152, 132, 128, 175, 164, 160, 157, 120, 119, 100, 62, 83, 114, 157, 198, 184, 129, 105, 70, 20, 76, 138, 149, 156, 187, 138, 91, 123, 123, 112, 146, 152, 93, 119, 163, 153, 152, 191, 149, 94, 119, 82, 76, 151, 164, 136, 149, 152, 99, 67, 85, 111, 109, 140, 176, 126, 110, 121, 116, 130, 155, 147, 147, 122, 98, 97, 115, 162, 159, 141, 94, 66, 73, 127, 202, 199, 158, 117, 49, 65, 103, 141, 169, 142, 149, 125, 99, 132, 168, 141, 153, 171, 110, 107, 146, 121, 142, 187, 162, 95, 66, 60, 97, 168, 169, 182, 152, 58, 46, 58, 74, 160, 172, 146, 115, 105, 155, 174, 192, 154, 121, 112, 112, 141, 168, 186, 95, 32, 71, 92, 140, 204, 210, 176, 112, 22, 3, 64, 144, 200, 211, 181, 127, 102, 91, 131, 162, 147, 123, 121, 137, 144, 186, 179, 140, 92, 56, 64, 114, 167, 172, 169, 163, 85, 45, 85, 101, 146, 178, 132, 73, 84, 99, 140, 192, 205, 184, 133, 99, 68, 73, 145, 201, 223, 176, 98, 48, 63, 123, 153, 173, 164, 137, 92, 75, 84, 129, 140, 131, 116, 128, 161, 151, 146, 142, 145, 135, 123, 103, 115, 141, 155, 165, 107, 82, 97, 83, 133, 145, 151, 161, 120, 89, 80, 80, 105, 151, 148, 156, 186, 149, 126, 133, 97, 117, 173, 183, 177, 179, 44, 5, 82, 50, 138, 254, 189, 148, 161, 55, 7, 80, 89, 86, 191, 255, 192, 148, 129, 55, 59, 144, 171, 167, 208, 182, 76, 52, 89, 76, 127, 216, 173, 119, 124, 111, 55, 86, 129, 97, 114, 144, 161, 172, 187, 157, 74, 76, 88, 85, 142, 209, 198, 156, 174, 118, 46, 71, 71, 101, 192, 204, 166, 139, 105, 55, 57, 116, 152, 167, 160, 132, 108, 139, 186, 146, 123, 127, 98, 115, 141, 144, 173, 166, 76, 26, 38, 67, 152, 210, 184, 163, 120, 31, 12, 91, 122, 166, 233, 166, 126, 146, 85, 69, 140, 161, 198, 228, 184, 164, 53, 0, 78, 44, 148, 255, 173, 156, 148, 31, 42, 113, 76, 107, 131, 91, 132, 170, 172, 169, 145, 127, 110, 131, 153, 161, 189, 133, 29, 48, 90, 79, 172, 241, 145, 145, 142, 23, 48, 99, 81, 119, 193, 149, 127, 185, 146, 121, 142, 128, 119, 100, 111, 147, 142, 169, 187, 127, 99, 96, 88, 134, 168, 145, 119, 111, 103, 116, 121, 145, 135, 104, 118, 73, 68, 139, 143, 156, 198, 155, 136, 122, 80, 112, 147, 153, 190, 167, 106, 73, 47, 79, 138, 145, 162, 156, 117, 91, 77, 112, 122, 139, 169, 153, 150, 162, 127, 111, 130, 135, 148, 194, 174, 152, 168, 57, 10, 74, 74, 140, 224, 182, 162, 151, 80, 54, 90, 83, 87, 130, 147, 158, 197, 187, 112, 124, 138, 83, 139, 184, 138, 189, 165, 43, 52, 91, 61, 143, 231, 165, 156, 171, 30, 0, 89, 105, 148, 209, 157, 89, 127, 135, 107, 157, 170, 143, 152, 145, 114, 115, 160, 178, 146, 84, 59, 70, 99, 169, 180, 159, 153, 98, 49, 63, 101, 135, 142, 143, 114, 107, 147, 149, 156, 149, 137, 133, 108, 122, 152, 157, 164, 164, 146, 78, 58, 94, 101, 138, 182, 167, 122, 105, 83, 60, 116, 152, 119, 151, 171, 145, 151, 144, 110, 101, 132, 150, 146, 164, 173, 149, 101, 47, 57, 99, 102, 157, 199, 137, 151, 125, 39, 102, 118, 83, 147, 161, 149, 160, 176, 152, 99, 155, 136, 90, 175, 153, 133, 170, 69, 58, 99, 35, 106, 169, 107, 189, 195, 62, 80, 85, 49, 117, 163, 142, 166, 222, 190, 108, 117, 118, 98, 137, 169, 161, 167, 198, 98, 23, 107, 75, 79, 216, 176, 117, 148, 79, 27, 98, 112, 105, 164, 136, 96, 128, 160, 187, 148, 147, 159, 78, 104, 139, 126, 180, 183, 153, 142, 87, 56, 73, 92, 130, 154, 143, 152, 126, 92, 115, 111, 107, 109, 105, 104, 123, 178, 184, 191, 181, 99, 93, 110, 107, 163, 173, 154, 177, 143, 75, 55, 69, 64, 78, 154, 168, 160, 182, 133, 55, 71, 104, 94, 134, 188, 163, 164, 185, 116, 93, 114, 105, 130, 159, 165, 155, 138, 134, 121, 137, 142, 83, 71, 83, 46, 95, 174, 156, 177, 179, 84, 68, 87, 37, 86, 193, 217, 216, 218, 175, 91, 83, 92, 88, 167, 198, 177, 158, 90, 50, 56, 64, 103, 155, 172, 174, 162, 105, 77, 96, 100, 108, 119, 118, 120, 161, 190, 172, 174, 150, 98, 102, 121, 138, 165, 168, 182, 175, 125, 86, 53, 62, 81, 98, 142, 153, 154, 140, 108, 88, 79, 106, 93, 85, 143, 167, 190, 213, 170, 132, 113, 108, 133, 136, 164, 188, 148, 167, 159, 66, 55, 82, 76, 87, 131, 158, 147, 149, 124, 79, 60, 72, 115, 126, 148, 178, 163, 168, 159, 136, 141, 133, 125, 133, 136, 155, 181, 151, 154, 149, 46, 50, 104, 47, 94, 186, 151, 153, 165, 87, 43, 89, 105, 102, 145, 145, 135, 141, 172, 190, 135, 132, 116, 93, 141, 157, 197, 207, 184, 169, 65, 27, 55, 44, 93, 173, 198, 172, 131, 88, 55, 69, 101, 119, 127, 143, 174, 181, 193, 186, 132, 111, 102, 97, 160, 187, 171, 149, 118, 120, 85, 72, 88, 84, 126, 134, 118, 142, 128, 96, 93, 112, 117, 109, 113, 106, 144, 196, 196, 190, 181, 133, 85, 96, 119, 131, 170, 175, 147, 138, 121, 128, 106, 57, 76, 101, 99, 100, 131, 144, 142, 161, 128, 98, 117, 105, 94, 108, 136, 188, 195, 199, 184, 135, 123, 116, 122, 130, 154, 174, 166, 154, 127, 108, 62, 16, 70, 94, 74, 133, 147, 112, 131, 137, 112, 92, 107, 115, 98, 158, 190, 187, 218, 176, 134, 110, 74, 95, 150, 180, 190, 179, 149, 129, 79, 51, 77, 68, 80, 134, 136, 136, 161, 130, 115, 102, 86, 97, 94, 120, 139, 153, 180, 189, 183, 166, 129, 99, 115, 116, 139, 188, 170, 142, 152, 119, 59, 58, 70, 80, 131, 147, 133, 143, 125, 92, 109, 117, 102, 114, 108, 121, 148, 166, 180, 162, 157, 144, 112, 100, 112, 112, 143, 186, 170, 150, 139, 119, 97, 100, 94, 82, 83, 104, 115, 127, 170, 170, 133, 114, 120, 90, 89, 136, 145, 168, 212, 182, 137, 138, 135, 94, 111, 150, 131, 156, 167, 148, 130, 100, 50, 42, 71, 61, 101, 157, 165, 157, 135, 112, 78, 64, 100, 125, 156, 171, 177, 146, 122, 167, 137, 118, 140, 151, 137, 133, 144, 116, 127, 151, 155, 154, 129, 77, 60, 62, 49, 78, 130, 151, 151, 149, 106, 81, 101, 98, 120, 162, 153, 157, 173, 187, 159, 139, 149, 114, 131, 138, 113, 129, 152, 129, 148, 176, 112, 62, 57, 54, 75, 109, 136, 161, 141, 129, 98, 88, 113, 108, 115, 144, 179, 177, 186, 173, 157, 151, 111, 131, 148, 115, 140, 151, 133, 156, 151, 106, 60, 54, 76, 85, 93, 149, 173, 155, 139, 115, 106, 82, 119, 129, 95, 144, 152, 142, 185, 190, 158, 163, 133, 101, 120, 126, 142, 153, 160, 192, 163, 85, 39, 42, 46, 51, 139, 178, 141, 162, 157, 78, 99, 123, 53, 101, 159, 148, 199, 247, 193, 140, 106, 70, 83, 126, 150, 157, 203, 206, 141, 91, 46, 41, 73, 79, 124, 163, 128, 105, 144, 125, 87, 143, 127, 82, 104, 115, 123, 180, 228, 221, 210, 170, 114, 72, 60, 99, 140, 160, 184, 175, 151, 111, 57, 54, 52, 92, 120, 124, 160, 142, 109, 111, 116, 125, 118, 130, 132, 114, 148, 187, 200, 169, 170, 142, 87, 102, 121, 131, 144, 184, 143, 123, 157, 96, 61, 81, 79, 65, 103, 154, 144, 125, 149, 146, 95, 118, 126, 79, 108, 154, 169, 175, 200, 184, 129, 137, 136, 107, 141, 143, 134, 177, 167, 77, 44, 90, 68, 54, 158, 179, 95, 166, 154, 33, 100, 134, 75, 130, 168, 116, 140, 210, 201, 162, 166, 136, 94, 102, 166, 168, 149, 182, 145, 127, 84, 34, 49, 87, 98, 108, 162, 147, 107, 113, 117, 122, 127, 133, 142, 101, 113, 149, 134, 207, 234, 154, 146, 167, 76, 90, 143, 104, 160, 159, 125, 128, 147, 140, 66, 46, 90, 93, 75, 125, 159, 143, 117, 136, 129, 87, 123, 153, 140, 171, 193, 141, 120, 149, 133, 109, 141, 140, 114, 141, 152, 120, 146, 158, 124, 149, 148, 137, 114, 47, 51, 76, 56, 110, 215, 173, 147, 183, 87, 45, 122, 108, 79, 186, 210, 159, 204, 182, 84, 97, 116, 102, 162, 206, 199, 163, 105, 27, 22, 75, 78, 139, 213, 132, 107, 161, 58, 50, 163, 115, 85, 159, 114, 56, 131, 200, 185, 175, 199, 134, 84, 112, 130, 147, 165, 177, 121, 90, 98, 56, 60, 127, 141, 133, 155, 118, 97, 137, 135, 106, 117, 135, 81, 99, 167, 128, 146, 212, 173, 121, 116, 93, 74, 107, 157, 162, 161, 180, 147, 109, 127, 120, 115, 94, 59, 80, 121, 134, 135, 146, 152, 133, 81, 142, 167, 95, 145, 180, 114, 129, 170, 124, 139, 150, 135, 137, 101, 134, 139, 116, 168, 174, 128, 134, 127, 106, 127, 121, 82, 31, 75, 59, 19, 163, 203, 131, 211, 197, 47, 63, 116, 65, 78, 212, 213, 188, 255, 211, 87, 112, 96, 63, 145, 194, 180, 176, 69, 41, 63, 18, 86, 171, 172, 137, 194, 118, 5, 112, 116, 69, 148, 188, 82, 91, 181, 158, 176, 201, 164, 116, 107, 109, 97, 116, 146, 140, 123, 151, 158, 81, 96, 145, 96, 119, 131, 81, 88, 132, 149, 135, 173, 136, 68, 85, 94, 95, 134, 205, 180, 160, 168, 120, 116, 137, 135, 119, 151, 146, 117, 146, 147, 132, 133, 122, 61, 34, 56, 68, 108, 167, 195, 151, 143, 156, 101, 79, 157, 176, 102, 145, 175, 135, 181, 207, 142, 117, 151, 115, 89, 154, 163, 135, 158, 156, 129, 63, 11, 33, 37, 57, 172, 217, 134, 167, 182, 56, 37, 126, 105, 68, 170, 205, 162, 209, 209, 154, 134, 113, 86, 71, 132, 186, 151, 179, 179, 45, 2, 49, 51, 67, 167, 217, 160, 145, 146, 49, 45, 136, 124, 108, 156, 186, 155, 144, 205, 191, 106, 149, 157, 84, 100, 138, 120, 110, 150, 153, 113, 133, 102, 38, 88, 101, 108, 150, 149, 148, 104, 85, 144, 107, 75, 156, 158, 110, 184, 197, 122, 161, 173, 122, 114, 146, 143, 131, 180, 180, 145, 157, 144, 32, 23, 84, 34, 75, 156, 134, 133, 168, 132, 72, 100, 110, 99, 133, 173, 168, 175, 189, 145, 169, 153, 147, 138, 108, 165, 141, 141, 174, 161, 104, 35, 53, 52, 70, 120, 140, 150, 124, 121, 111, 71, 91, 100, 105, 143, 188, 187, 154, 179, 166, 124, 151, 187, 137, 142, 143, 111, 107, 121, 130, 126, 145, 143, 129, 93, 79, 67, 100, 100, 111, 123, 135, 147, 129, 125, 141, 130, 126, 136, 127, 149, 146, 147, 141, 146, 166, 165, 118, 135, 133, 128, 111, 134, 145, 111, 161, 132, 119, 109, 71, 65, 65, 76, 125, 125, 141, 162, 151, 153, 132, 74, 103, 145, 133, 169, 169, 216, 198, 163, 146, 124, 137, 104, 124, 148, 154, 147, 163, 163, 62, 44, 72, 22, 45, 126, 123, 126, 161, 130, 110, 81, 76, 87, 84, 143, 153, 201, 228, 192, 187, 167, 147, 128, 125, 143, 151, 162, 171, 132, 85, 70, 80, 84, 69, 83, 124, 93, 122, 111, 87, 112, 67, 105, 123, 128, 154, 195, 203, 147, 167, 157, 142, 134, 127, 149, 132, 146, 130, 138, 145, 105, 107, 93, 90, 87, 92, 97, 98, 118, 129, 138, 114, 112, 140, 135, 142, 147, 175, 178, 163, 169, 147, 145, 134, 114, 105, 139, 160, 124, 99, 142, 113, 95, 117, 83, 161, 138, 104, 99, 90, 121, 104, 96, 132, 161, 114, 104, 147, 137, 82, 141, 127, 119, 174, 137, 130, 168, 169, 122, 139, 138, 163, 140, 126, 158, 150, 129, 125, 132, 105, 100, 78, 109, 105, 94, 91, 84, 87, 72, 123, 136, 99, 108, 140, 150, 148, 168, 159, 176, 178, 137, 175, 174, 188, 131, 167, 158, 140, 159, 101, 123, 86, 103, 81, 115, 113, 42, 67, 100, 78, 89, 99, 97, 117, 145, 144, 125, 171, 168, 142, 168, 191, 154, 185, 149, 202, 162, 156, 159, 78, 217, 76, 137, 80, 90, 137, 1, 173, 38, 92, 104, 77, 85, 100, 115, 64, 133, 136, 190, 117, 191, 132, 165, 143, 199, 207, 38, 242, 154, 169, 170, 165, 150, 120, 147, 54, 117, 84, 108, 88, 55, 41, 75, 103, 28, 71, 67, 97, 136, 109, 122, 123, 158, 169, 165, 221, 181, 188, 201, 180, 202, 187, 176, 173, 116, 128, 135, 77, 120, 79, 72, 65, 32, 74, 63, 49, 74, 96, 67, 75, 126, 114, 143, 146, 160, 149, 147, 214, 188, 191, 172, 215, 150, 160, 203, 151, 138, 166, 134, 49, 134, 90, 106, 47, 70, 76, 76, 78, 58, 154, 52, 113, 126, 165, 179, 107, 89, 238, 172, 137, 231, 82, 207, 129, 181, 129, 124, 184, 22, 155, 121, 153, 92, 71, 138, 100, 113, 99, 89, 47, 172, 119, 30, 154, 126, 96, 110, 157, 126, 114, 214, 85, 149, 217, 101, 147, 178, 184, 145, 196, 165, 139, 158, 139, 157, 118, 136, 117, 78, 88, 103, 63, 34, 107, 60, 31, 125, 94, 74, 95, 127, 150, 134, 177, 200, 123, 212, 242, 153, 185, 147, 204, 174, 94, 163, 208, 120, 94, 119, 86, 115, 96, 92, 78, 97, 73, 18, 122, 91, 54, 135, 91, 98, 93, 141, 183, 90, 174, 146, 130, 221, 172, 202, 157, 170, 219, 163, 171, 126, 148, 124, 80, 121, 67, 37, 74, 30, 2, 67, 41, 15, 65, 55, 69, 126, 141, 95, 123, 222, 186, 175, 173, 238, 200, 180, 255, 144, 175, 187, 186, 164, 93, 150, 152, 132, 81, 57, 65, 118, 60, 55, 107, 0, 99, 136, 20, 9, 122, 152, 109, 169, 110, 139, 149, 240, 211, 169, 250, 150, 208, 249, 175, 161, 175, 152, 128, 156, 79, 26, 82, 43, 78, 37, 16, 28, 94, 72, 0, 160, 60, 64, 146, 114, 168, 205, 164, 128, 255, 208, 181, 243, 182, 219, 255, 212, 154, 215, 178, 152, 151, 89, 159, 132, 86, 45, 65, 84, 72, 37, 8, 90, 93, 71, 78, 96, 117, 165, 143, 176, 166, 221, 196, 181, 236, 161, 214, 192, 197, 122, 154, 155, 64, 150, 105, 63, 81, 93, 84, 98, 74, 35, 88, 110, 115, 38, 73, 175, 75, 68, 169, 151, 96, 209, 132, 86, 245, 190, 155, 158, 194, 167, 170, 227, 127, 201, 164, 128, 177, 102, 143, 121, 73, 59, 114, 35, 37, 105, 41, 45, 65, 114, 76, 72, 134, 107, 110, 175, 146, 157, 179, 162, 169, 192, 177, 193, 193, 131, 178, 177, 139, 169, 148, 105, 148, 104, 106, 95, 97, 131, 17, 89, 69, 10, 152, 82, 67, 65, 106, 157, 88, 216, 167, 131, 198, 213, 205, 197, 222, 196, 158, 182, 186, 139, 156, 104, 102, 110, 78, 85, 58, 85, 104, 46, 109, 77, 91, 97, 84, 146, 63, 159, 120, 58, 153, 180, 142, 130, 170, 155, 119, 153, 203, 158, 161, 167, 153, 172, 153, 134, 187, 151, 128, 146, 117, 103, 68, 121, 112, 41, 58, 59, 49, 84, 91, 34, 86, 140, 125, 59, 95, 173, 145, 164, 156, 214, 157, 160, 213, 193, 185, 169, 205, 133, 173, 146, 131, 181, 86, 95, 105, 103, 83, 54, 72, 34, 106, 86, 45, 82, 91, 99, 83, 170, 148, 125, 186, 203, 176, 195, 209, 192, 185, 194, 178, 176, 163, 120, 149, 113, 118, 96, 86, 79, 87, 87, 59, 112, 83, 68, 93, 118, 104, 41, 121, 183, 100, 120, 171, 169, 117, 176, 207, 122, 188, 188, 119, 163, 178, 132, 126, 156, 167, 113, 113, 153, 119, 124, 132, 89, 88, 88, 94, 24, 49, 125, 0, 38, 136, 48, 54, 130, 106, 75, 159, 181, 108, 180, 196, 160, 216, 210, 209, 182, 211, 232, 151, 180, 166, 157, 142, 117, 141, 53, 72, 97, 53, 45, 42, 30, 51, 60, 35, 73, 101, 92, 91, 136, 136, 143, 183, 175, 171, 192, 210, 209, 207, 191, 188, 188, 176, 170, 141, 124, 127, 88, 91, 113, 57, 37, 54, 48, 72, 32, 22, 81, 74, 91, 98, 128, 155, 120, 176, 201, 176, 206, 200, 172, 193, 201, 193, 146, 145, 168, 122, 153, 115, 117, 112, 86, 105, 82, 109, 86, 64, 58, 82, 79, 66, 89, 102, 60, 98, 153, 116, 125, 164, 194, 126, 162, 203, 180, 163, 184, 197, 152, 194, 181, 144, 170, 170, 129, 144, 140, 135, 125, 62, 49, 94, 100, 58, 56, 49, 39, 43, 118, 114, 67, 103, 99, 134, 149, 165, 197, 155, 152, 215, 218, 175, 186, 189, 197, 205, 154, 148, 151, 154, 128, 111, 137, 79, 76, 95, 50, 68, 51, 42, 71, 31, 60, 76, 92, 100, 100, 143, 134, 165, 162, 186, 203, 200, 191, 198, 225, 190, 187, 189, 176, 163, 168, 141, 117, 139, 125, 85, 62, 62, 86, 38, 18, 58, 40, 5, 51, 105, 56, 64, 135, 131, 96, 172, 179, 151, 193, 198, 198, 200, 225, 207, 174, 215, 188, 149, 189, 151, 128, 132, 103, 67, 90, 77, 18, 37, 48, 38, 41, 43, 51, 60, 82, 102, 105, 133, 139, 177, 172, 189, 213, 193, 228, 227, 210, 209, 200, 184, 180, 155, 147, 125, 113, 107, 90, 82, 58, 59, 42, 44, 65, 39, 60, 67, 62, 105, 114, 116, 133, 159, 164, 182, 190, 202, 197, 191, 202, 199, 194, 182, 170, 153, 163, 135, 119, 122, 110, 83, 84, 94, 85, 74, 72, 70, 68, 87, 95, 80, 82, 115, 117, 115, 139, 158, 149, 163, 165, 175, 184, 179, 162, 171, 181, 159, 162, 157, 163, 142, 133, 135, 132, 118, 136, 119, 105, 122, 122, 111, 78, 83, 108, 93, 49, 84, 97, 73, 66, 108, 99, 108, 132, 104, 144, 165, 155, 170, 191, 155, 178, 196, 176, 170, 187, 171, 129, 163, 148, 122, 111, 86, 103, 91, 80, 73, 37, 60, 72, 54, 50, 65, 69, 69, 98, 110, 134, 157, 148, 157, 176, 203, 205, 187, 206, 216, 182, 191, 204, 183, 162, 164, 164, 109, 148, 123, 85, 110, 84, 80, 97, 98, 65, 59, 61, 100, 83, 84, 95, 101, 112, 121, 137, 148, 171, 145, 168, 172, 186, 187, 188, 174, 155, 182, 154, 151, 148, 124, 124, 99, 102, 108, 89, 85, 83, 86, 89, 92, 97, 108, 111, 105, 70, 138, 117, 70, 141, 142, 106, 106, 169, 140, 124, 152, 179, 157, 139, 172, 166, 157, 156, 161, 157, 168, 162, 137, 126, 147, 128, 102, 105, 106, 94, 80, 94, 100, 89, 82, 66, 78, 82, 89, 95, 93, 109, 108, 131, 132, 136, 156, 167, 157, 178, 188, 170, 180, 191, 173, 165, 189, 168, 154, 149, 149, 125, 120, 118, 107, 92, 87, 99, 91, 95, 100, 71, 72, 117, 100, 98, 103, 119, 120, 135, 148, 141, 160, 156, 180, 170, 160, 185, 181, 165, 162, 168, 154, 158, 154, 123, 129, 138, 114, 94, 112, 100, 93, 97, 98, 100, 97, 108, 97, 87, 100, 119, 90, 98, 118, 109, 123, 138, 141, 148, 157, 154, 162, 172, 172, 163, 168, 170, 169, 155, 161, 166, 143, 129, 139, 126, 115, 127, 101, 95, 90, 91, 103, 92, 80, 77, 80, 86, 92, 96, 89, 105, 116, 106, 132, 149, 147, 148, 156, 176, 168, 164, 176, 170, 166, 167, 181, 160, 147, 156, 148, 121, 117, 118, 98, 113, 95, 89, 98, 101, 96, 63, 73, 114, 91, 64, 107, 116, 100, 119, 145, 141, 140, 159, 175, 160, 175, 196, 166, 174, 186, 161, 159, 164, 155, 139, 115, 126, 118, 95, 93, 91, 91, 88, 91, 88, 88, 90, 70, 47, 91, 93, 51, 82, 94, 89, 96, 107, 127, 141, 126, 141, 176, 164, 175, 184, 190, 199, 183, 199, 197, 172, 166, 166, 154, 134, 127, 115, 104, 94, 93, 88, 82, 67, 42, 66, 68, 49, 54, 59, 88, 90, 92, 123, 123, 130, 153, 149, 158, 196, 198, 192, 209, 207, 204, 201, 195, 188, 168, 161, 149, 128, 123, 118, 97, 85, 96, 82, 69, 77, 52, 73, 94, 56, 66, 120, 104, 78, 128, 155, 128, 130, 178, 171, 140, 173, 200, 168, 174, 197, 172, 171, 175, 164, 147, 147, 139, 123, 124, 119, 105, 102, 120, 86, 38, 81, 93, 21, 45, 93, 59, 59, 106, 104, 90, 120, 129, 118, 151, 179, 165, 187, 208, 206, 206, 211, 210, 201, 189, 184, 174, 138, 140, 139, 113, 97, 94, 93, 39, 33, 77, 36, 9, 37, 63, 65, 60, 84, 114, 117, 112, 142, 172, 175, 183, 203, 213, 204, 205, 226, 196, 185, 195, 180, 167, 143, 131, 127, 117, 98, 93, 95, 80, 38, 41, 72, 49, 38, 51, 71, 86, 71, 100, 144, 115, 118, 176, 174, 155, 199, 194, 179, 209, 193, 179, 193, 170, 153, 166, 148, 132, 131, 111, 103, 99, 107, 107, 88, 97, 52, 40, 108, 50, 1, 119, 89, 3, 134, 145, 47, 143, 184, 97, 146, 215, 174, 174, 235, 218, 197, 220, 223, 200, 174, 205, 175, 131, 161, 146, 93, 110, 78, 21, 82, 38, 0, 57, 38, 0, 56, 83, 41, 63, 107, 111, 119, 161, 187, 182, 219, 228, 202, 222, 241, 212, 190, 208, 195, 163, 157, 155, 120, 92, 107, 79, 35, 46, 54, 24, 23, 46, 45, 66, 66, 80, 119, 114, 130, 152, 169, 183, 204, 200, 198, 219, 208, 201, 193, 197, 190, 165, 157, 151, 131, 106, 118, 102, 68, 86, 75, 21, 37, 78, 32, 24, 79, 54, 37, 103, 122, 90, 123, 170, 151, 155, 208, 206, 179, 220, 230, 189, 209, 213, 181, 171, 162, 162, 147, 117, 111, 112, 88, 77, 100, 78, 15, 45, 91, 3, 15, 119, 48, 24, 131, 122, 70, 136, 162, 121, 156, 189, 202, 211, 215, 223, 221, 218, 199, 207, 194, 169, 164, 148, 136, 121, 104, 90, 81, 57, 59, 54, 30, 49, 43, 43, 80, 83, 65, 102, 127, 105, 135, 151, 163, 181, 187, 197, 200, 204, 190, 196, 183, 162, 178, 167, 135, 132, 137, 103, 85, 105, 83, 61, 75, 69, 76, 75, 62, 81, 84, 91, 111, 114, 128, 148, 142, 149, 180, 181, 176, 181, 183, 177, 176, 187, 163, 167, 183, 139, 137, 162, 130, 116, 151, 133, 123, 128, 100, 80, 84, 90, 35, 72, 116, 32, 62, 123, 72, 65, 119, 116, 88, 145, 174, 125, 172, 212, 158, 196, 209, 161, 190, 188, 159, 186, 164, 120, 179, 132, 117, 138, 34, 104, 105, 0, 60, 95, 0, 32, 108, 38, 47, 107, 97, 81, 127, 150, 144, 177, 193, 199, 210, 231, 226, 216, 221, 222, 217, 184, 188, 201, 156, 143, 171, 113, 66, 84, 68, 53, 23, 28, 40, 10, 34, 57, 41, 75, 98, 74, 116, 147, 150, 167, 217, 177, 170, 255, 192, 215, 197, 179, 222, 146, 166, 143, 145, 99, 90, 125, 45, 115, 26, 28, 89, 2, 63, 45, 64, 58, 104, 107, 115, 173, 102, 203, 153, 191, 223, 166, 235, 177, 235, 194, 182, 201, 147, 159, 145, 159, 114, 145, 117, 108, 105, 34, 128, 88, 0, 67, 109, 19, 52, 113, 51, 75, 120, 84, 96, 200, 147, 170, 237, 192, 218, 215, 215, 230, 229, 185, 201, 201, 152, 154, 145, 153, 114, 83, 73, 39, 55, 57, 13, 37, 66, 44, 47, 62, 91, 103, 98, 133, 179, 178, 169, 174, 217, 214, 175, 230, 231, 184, 187, 199, 177, 128, 146, 150, 115, 96, 92, 101, 92, 50, 29, 72, 66, 49, 59, 68, 75, 86, 96, 109, 148, 150, 148, 158, 198, 204, 192, 199, 192, 191, 176, 186, 192, 164, 146, 170, 139, 119, 130, 93, 87, 110, 103, 84, 89, 107, 121, 62, 33, 78, 114, 89, 60, 124, 120, 83, 117, 150, 126, 129, 196, 153, 132, 215, 177, 121, 180, 182, 136, 160, 168, 135, 109, 122, 127, 112, 130, 137, 129, 109, 115, 112, 43, 58, 138, 60, 42, 127, 79, 27, 69, 107, 56, 105, 159, 112, 128, 201, 180, 148, 221, 196, 199, 229, 209, 191, 181, 186, 151, 152, 141, 135, 123, 90, 118, 89, 29, 29, 62, 60, 57, 86, 54, 68, 92, 68, 91, 131, 146, 152, 180, 190, 196, 178, 166, 213, 198, 161, 179, 179, 163, 142, 144, 147, 105, 99, 92, 61, 92, 117, 102, 108, 54, 11, 59, 104, 82, 94, 127, 106, 114, 85, 115, 175, 177, 180, 197, 198, 153, 147, 173, 169, 147, 202, 167, 114, 133, 92, 112, 138, 114, 93, 96, 110, 104, 103, 112, 149, 146, 42, 0, 89, 161, 143, 112, 129, 175, 64, 19, 169, 169, 117, 179, 203, 147, 163, 196, 144, 129, 173, 183, 165, 151, 156, 141, 111, 128, 113, 104, 122, 134, 119, 122, 141, 55, 0, 42, 129, 155, 98, 62, 121, 105, 34, 75, 130, 155, 163, 135, 173, 211, 173, 181, 177, 170, 172, 178, 185, 178, 181, 159, 129, 124, 134, 106, 109, 114, 84, 97, 107, 113, 110, 46, 29, 65, 87, 146, 171, 126, 84, 89, 119, 117, 145, 202, 151, 108, 157, 181, 152, 140, 150, 137, 132, 131, 149, 158, 125, 115, 129, 100, 103, 135, 138, 117, 115, 130, 122, 152, 95, 0, 48, 179, 173, 104, 126, 171, 72, 18, 139, 154, 129, 135, 168, 167, 157, 167, 121, 160, 157, 132, 130, 146, 174, 110, 119, 142, 122, 107, 103, 124, 126, 109, 109, 118, 65, 28, 37, 126, 174, 116, 117, 102, 86, 68, 59, 110, 191, 192, 153, 188, 167, 151, 156, 170, 164, 149, 164, 170, 175, 147, 132, 108, 107, 118, 86, 87, 105, 100, 100, 138, 180, 91, 0, 8, 99, 173, 171, 137, 166, 146, 70, 110, 138, 156, 156, 134, 155, 172, 145, 150, 162, 173, 129, 94, 140, 145, 163, 152, 148, 112, 86, 124, 154, 148, 128, 111, 116, 146, 60, 0, 22, 173, 183, 84, 165, 171, 39, 13, 96, 164, 127, 146, 192, 180, 168, 213, 209, 112, 121, 183, 190, 197, 223, 167, 90, 125, 128, 93, 91, 109, 86, 74, 135, 162, 143, 67, 0, 0, 29, 148, 210, 193, 106, 79, 90, 84, 129, 158, 168, 147, 102, 147, 210, 214, 153, 83, 56, 106, 180, 187, 176, 121, 98, 82, 103, 154, 139, 112, 109, 117, 113, 129, 162, 171, 42, 0, 36, 151, 191, 141, 184, 155, 49, 52, 113, 159, 133, 169, 184, 148, 149, 189, 182, 123, 156, 124, 109, 163, 196, 132, 125, 158, 95, 84, 126, 154, 104, 88, 116, 167, 137, 4, 0, 64, 118, 116, 164, 180, 105, 2, 54, 147, 114, 121, 141, 188, 181, 190, 247, 189, 149, 156, 176, 168, 199, 229, 154, 125, 112, 100, 93, 126, 108, 62, 74, 105, 127, 37, 28, 8, 57, 196, 166, 142, 141, 140, 111, 119, 187, 165, 176, 171, 153, 215, 199, 132, 146, 152, 138, 147, 172, 134, 101, 135, 120, 117, 113, 131, 103, 76, 139, 112, 112, 129, 71, 0, 0, 131, 99, 132, 212, 117, 62, 93, 148, 108, 144, 226, 187, 134, 142, 215, 223, 148, 148, 132, 140, 187, 192, 132, 111, 138, 128, 113, 128, 152, 115, 119, 140, 156, 48, 0, 14, 94, 123, 138, 179, 98, 0, 42, 126, 73, 106, 177, 152, 164, 202, 206, 196, 187, 192, 158, 151, 208, 217, 193, 128, 134, 115, 99, 121, 109, 114, 90, 112, 106, 30, 23, 83, 106, 59, 79, 123, 61, 89, 126, 120, 129, 150, 170, 145, 144, 184, 163, 184, 161, 160, 206, 140, 129, 126, 155, 147, 139, 140, 97, 67, 108, 90, 88, 112, 131, 126, 74, 70, 49, 56, 81, 139, 123, 113, 133, 117, 113, 124, 150, 170, 161, 181, 173, 157, 161, 164, 177, 141, 152, 150, 120, 145, 134, 115, 110, 116, 127, 97, 121, 139, 114, 126, 146, 147, 75, 0, 106, 110, 57, 110, 174, 105, 0, 144, 164, 72, 157, 197, 133, 102, 196, 205, 128, 226, 196, 131, 162, 144, 157, 142, 192, 160, 126, 132, 89, 118, 152, 122, 69, 57, 78, 108, 75, 27, 39, 109, 86, 37, 79, 98, 104, 129, 144, 130, 137, 177, 202, 191, 179, 196, 219, 198, 207, 186, 193, 205, 146, 155, 150, 152, 119, 88, 102, 70, 84, 75, 33, 42, 71, 74, 59, 43, 96, 84, 89, 132, 109, 158, 166, 159, 147, 186, 217, 189, 205, 215, 177, 175, 200, 185, 196, 153, 121, 151, 114, 74, 97, 103, 54, 40, 79, 74, 62, 74, 85, 79, 89, 93, 75, 140, 173, 109, 109, 170, 143, 128, 210, 146, 122, 182, 177, 129, 149, 191, 126, 123, 172, 137, 110, 182, 109, 127, 144, 95, 115, 106, 123, 135, 122, 101, 65, 86, 110, 104, 110, 46, 101, 111, 49, 97, 145, 93, 115, 146, 152, 124, 143, 194, 155, 190, 162, 166, 193, 175, 179, 187, 170, 140, 181, 163, 118, 131, 109, 126, 125, 66, 62, 104, 67, 55, 61, 79, 87, 43, 96, 68, 107, 150, 91, 141, 175, 171, 148, 190, 189, 190, 204, 169, 177, 178, 191, 176, 153, 135, 168, 137, 116, 119, 141, 69, 101, 121, 56, 105, 60, 96, 87, 107, 56, 98, 100, 76, 142, 92, 113, 103, 187, 168, 110, 185, 152, 183, 211, 158, 202, 131, 175, 194, 116, 179, 125, 142, 121, 118, 132, 105, 151, 84, 103, 73, 78, 141, 99, 113, 73, 36, 83, 162, 103, 36, 76, 127, 79, 97, 159, 103, 127, 143, 168, 158, 162, 190, 173, 195, 179, 160, 196, 186, 208, 171, 149, 163, 116, 170, 144, 119, 117, 80, 123, 138, 68, 77, 87, 89, 77, 61, 95, 100, 77, 68, 120, 112, 129, 109, 150, 149, 146, 205, 137, 192, 160, 172, 185, 124, 179, 178, 134, 144, 155, 75, 146, 164, 79, 85, 101, 106, 93, 101, 83, 64, 150, 78, 68, 109, 111, 144, 64, 112, 131, 173, 89, 128, 136, 187, 168, 82, 204, 166, 159, 126, 173, 141, 123, 166, 138, 124, 158, 99, 102, 149, 141, 100, 119, 98, 83, 134, 118, 143, 76, 98, 105, 119, 86, 126, 100, 50, 122, 117, 102, 98, 131, 151, 137, 118, 132, 164, 203, 140, 163, 185, 165, 162, 188, 184, 147, 163, 159, 146, 117, 150, 123, 100, 111, 104, 102, 89, 91, 86, 101, 67, 74, 82, 95, 108, 70, 93, 98, 133, 143, 112, 137, 171, 146, 160, 176, 204, 174, 149, 206, 162, 151, 191, 174, 121, 149, 123, 145, 113, 130, 135, 72, 112, 95, 89, 117, 116, 51, 140, 99, 98, 96, 103, 186, 48, 94, 168, 156, 93, 119, 187, 148, 141, 138, 194, 121, 155, 194, 126, 153, 121, 183, 137, 113, 156, 109, 104, 152, 110, 86, 131, 104, 117, 97, 120, 161, 62, 123, 127, 51, 115, 110, 117, 24, 107, 127, 51, 103, 149, 109, 94, 160, 149, 125, 152, 229, 159, 150, 184, 208, 171, 172, 167, 186, 164, 132, 180, 132, 150, 114, 84, 122, 103, 131, 76, 59, 135, 34, 71, 58, 105, 93, 19, 107, 75, 103, 161, 141, 139, 128, 171, 188, 200, 255, 179, 151, 129, 113, 158, 251, 175, 99, 56, 87, 159, 169, 170, 52, 65, 112, 132, 118, 135, 71, 133, 152, 59, 90, 87, 98, 108, 81, 88, 114, 110, 124, 116, 143, 123, 143, 164, 161, 142, 187, 181, 146, 174, 151, 168, 149, 137, 132, 140, 118, 130, 138, 121, 78, 117, 147, 78, 121, 136, 109, 94, 74, 113, 133, 21, 66, 124, 75, 83, 97, 128, 87, 120, 128, 115, 187, 167, 151, 169, 142, 191, 219, 135, 205, 198, 146, 168, 138, 148, 159, 128, 113, 121, 113, 109, 77, 91, 86, 69, 78, 49, 93, 81, 42, 114, 84, 100, 144, 116, 135, 147, 184, 166, 149, 192, 215, 181, 164, 153, 170, 195, 146, 133, 144, 157, 122, 108, 126, 117, 100, 80, 98, 112, 106, 88, 96, 101, 118, 62, 70, 152, 85, 98, 127, 120, 131, 134, 146, 122, 153, 165, 153, 158, 154, 154, 157, 161, 124, 161, 153, 137, 135, 99, 139, 112, 123, 123, 100, 115, 92, 116, 134, 84, 129, 120, 83, 100, 104, 105, 65, 121, 116, 64, 101, 160, 120, 98, 136, 156, 156, 139, 150, 171, 182, 156, 182, 175, 152, 185, 177, 149, 145, 172, 145, 130, 142, 108, 139, 115, 94, 105, 106, 87, 72, 84, 65, 82, 68, 75, 75, 99, 115, 104, 128, 117, 147, 173, 128, 178, 208, 168, 179, 178, 175, 185, 180, 150, 138, 141, 145, 120, 140, 115, 106, 113, 94, 93, 87, 129, 86, 85, 97, 110, 109, 77, 99, 120, 121, 99, 110, 131, 135, 131, 161, 148, 155, 156, 173, 161, 144, 177, 161, 180, 130, 146, 167, 117, 127, 147, 126, 93, 112, 126, 97, 104, 125, 83, 114, 132, 94, 135, 128, 78, 95, 139, 103, 69, 115, 109, 96, 101, 130, 119, 109, 147, 142, 153, 145, 149, 208, 150, 142, 211, 159, 166, 158, 173, 162, 144, 160, 125, 142, 112, 103, 113, 93, 93, 101, 89, 65, 63, 76, 72, 74, 78, 66, 95, 88, 93, 134, 122, 143, 150, 160, 164, 171, 202, 187, 167, 186, 174, 180, 169, 167, 191, 136, 142, 131, 144, 123, 120, 102, 88, 97, 87, 91, 78, 76, 59, 96, 71, 86, 81, 95, 86, 107, 121, 102, 149, 143, 145, 140, 173, 174, 170, 159, 175, 186, 163, 166, 160, 157, 154, 134, 144, 125, 102, 126, 113, 89, 104, 107, 84, 104, 113, 108, 102, 128, 108, 116, 142, 107, 82, 123, 118, 54, 123, 138, 73, 113, 159, 96, 111, 177, 148, 110, 148, 189, 160, 164, 170, 167, 154, 151, 189, 153, 116, 156, 151, 122, 130, 134, 118, 114, 122, 115, 105, 82, 62, 73, 85, 60, 43, 72, 77, 87, 93, 106, 125, 120, 154, 153, 163, 191, 187, 191, 223, 193, 157, 216, 199, 159, 170, 153, 131, 131, 129, 99, 115, 109, 63, 102, 119, 86, 74, 78, 82, 76, 93, 89, 78, 108, 121, 117, 117, 155, 154, 137, 182, 191, 170, 168, 214, 189, 156, 177, 188, 161, 123, 134, 141, 110, 98, 109, 87, 90, 85, 105, 95, 89, 113, 100, 118, 108, 117, 113, 83, 139, 122, 61, 114, 142, 102, 97, 150, 139, 104, 139, 187, 128, 119, 205, 164, 135, 185, 186, 151, 154, 176, 166, 123, 155, 152, 116, 129, 125, 122, 86, 124, 118, 92, 122, 54, 70, 94, 56, 76, 75, 71, 106, 90, 97, 117, 118, 148, 142, 164, 163, 172, 178, 171, 189, 189, 191, 185, 162, 179, 182, 143, 160, 139, 126, 123, 112, 112, 94, 100, 104, 90, 86, 83, 58, 82, 101, 78, 79, 114, 120, 111, 115, 154, 163, 139, 157, 159, 186, 192, 161, 165, 183, 165, 165, 167, 138, 121, 145, 116, 108, 132, 78, 84, 110, 90, 70, 117, 101, 103, 97, 99, 96, 69, 116, 110, 68, 100, 116, 71, 108, 139, 163, 89, 149, 170, 128, 139, 201, 190, 133, 192, 175, 176, 172, 186, 155, 172, 144, 159, 132, 141, 129, 138, 107, 79, 151, 83, 112, 74, 50, 63, 92, 57, 40, 77, 84, 63, 90, 104, 130, 124, 108, 183, 153, 170, 193, 192, 209, 182, 204, 205, 174, 199, 187, 164, 172, 142, 131, 139, 106, 142, 81, 119, 76, 69, 89, 91, 66, 39, 71, 70, 87, 61, 114, 57, 146, 83, 172, 131, 181, 139, 146, 220, 156, 228, 140, 226, 144, 192, 149, 218, 109, 158, 132, 133, 108, 108, 166, 37, 162, 28, 150, 68, 112, 110, 76, 146, 73, 42, 149, 78, 60, 121, 79, 158, 10, 170, 186, 59, 152, 177, 101, 187, 171, 207, 147, 170, 213, 104, 238, 123, 190, 168, 125, 161, 115, 145, 121, 116, 99, 126, 114, 72, 108, 102, 47, 72, 79, 82, 37, 64, 119, 76, 75, 125, 147, 98, 106, 171, 178, 127, 182, 208, 181, 185, 187, 172, 189, 190, 140, 176, 175, 133, 144, 147, 103, 161, 69, 84, 163, 33, 67, 130, 116, 43, 53, 105, 80, 67, 106, 73, 101, 156, 92, 132, 166, 130, 175, 164, 173, 208, 163, 190, 198, 175, 135, 177, 193, 123, 121, 145, 119, 92, 108, 89, 117, 97, 77, 92, 122, 109, 97, 122, 130, 83, 59, 165, 90, 70, 137, 144, 68, 114, 180, 92, 97, 132, 171, 106, 149, 179, 127, 132, 179, 144, 136, 153, 128, 159, 128, 133, 135, 135, 120, 138, 102, 89, 133, 134, 94, 103, 118, 30, 61, 129, 83, 36, 102, 118, 65, 89, 120, 121, 128, 123, 173, 164, 132, 196, 189, 165, 155, 186, 198, 166, 168, 164, 165, 142, 132, 119, 153, 104, 67, 143, 85, 61, 91, 90, 91, 74, 53, 60, 76, 100, 91, 99, 114, 123, 166, 114, 138, 194, 162, 180, 168, 201, 205, 170, 185, 147, 146, 140, 149, 124, 145, 149, 103, 105, 105, 120, 87, 101, 105, 125, 127, 84, 123, 136, 135, 107, 65, 139, 150, 76, 90, 169, 144, 85, 136, 191, 103, 104, 173, 135, 155, 153, 188, 150, 134, 189, 129, 152, 144, 138, 156, 107, 129, 123, 110, 99, 99, 111, 105, 102, 103, 105, 98, 65, 37, 106, 95, 72, 69, 126, 88, 58, 126, 100, 155, 110, 166, 183, 149, 194, 148, 217, 150, 147, 191, 154, 202, 143, 138, 155, 119, 121, 98, 124, 123, 77, 114, 86, 91, 83, 75, 122, 86, 68, 78, 119, 102, 97, 137, 133, 135, 144, 142, 150, 158, 169, 167, 169, 185, 174, 162, 173, 148, 130, 139, 145, 137, 111, 133, 107, 101, 101, 105, 124, 102, 97, 103, 111, 106, 103, 113, 148, 124, 135, 104, 97, 171, 124, 111, 135, 168, 136, 110, 143, 143, 131, 100, 155, 157, 124, 153, 161, 152, 129, 136, 130, 148, 153, 127, 138, 136, 108, 101, 111, 88, 113, 94, 102, 128, 86, 102, 103, 115, 109, 131, 139, 142, 146, 140, 112, 100, 167, 144, 120, 132, 162, 146, 108, 125, 150, 133, 141, 161, 155, 139, 131, 145, 119, 135, 144, 143, 131, 119, 123, 109, 98, 118, 127, 105, 131, 102, 90, 109, 120, 127, 92, 106, 109, 82, 104, 131, 108, 120, 137, 159, 134, 126, 158, 153, 164, 158, 152, 162, 196, 135, 125, 145, 161, 132, 107, 158, 105, 116, 116, 104, 132, 113, 111, 112, 123, 133, 97, 112, 133, 133, 151, 123, 80, 111, 133, 109, 111, 137, 149, 111, 121, 148, 127, 100, 139, 157, 166, 183, 154, 163, 140, 138, 150, 145, 137, 125, 128, 121, 97, 103, 90, 77, 104, 91, 100, 106, 101, 96, 99, 110, 127, 143, 137, 161, 96, 69, 158, 131, 79, 137, 164, 121, 118, 128, 122, 132, 145, 139, 159, 165, 143, 166, 150, 144, 173, 159, 154, 169, 157, 127, 139, 140, 112, 117, 149, 118, 79, 105, 121, 98, 66, 107, 136, 75, 61, 110, 127, 112, 108, 144, 148, 142, 151, 149, 148, 158, 160, 157, 175, 169, 158, 142, 137, 140, 140, 129, 132, 133, 107, 116, 120, 111, 114, 127, 115, 117, 122, 115, 125, 114, 126, 137, 157, 145, 77, 89, 136, 122, 66, 128, 196, 121, 115, 159, 137, 114, 147, 165, 144, 164, 204, 160, 131, 178, 147, 98, 140, 177, 129, 121, 146, 136, 114, 84, 103, 141, 117, 90, 156, 140, 93, 106, 50, 30, 98, 92, 25, 89, 143, 74, 78, 139, 98, 70, 141, 163, 153, 184, 209, 197, 178, 186, 173, 160, 188, 188, 168, 170, 182, 162, 120, 115, 121, 121, 92, 76, 121, 109, 79, 95, 82, 54, 52, 89, 111, 100, 94, 135, 153, 138, 155, 154, 180, 169, 162, 184, 174, 192, 184, 167, 151, 158, 154, 120, 123, 129, 120, 113, 115, 117, 121, 112, 104, 94, 96, 122, 103, 104, 134, 132, 118, 86, 95, 145, 103, 69, 119, 131, 121, 134, 151, 150, 141, 140, 150, 153, 164, 168, 156, 157, 160, 157, 156, 146, 128, 145, 114, 104, 145, 116, 97, 107, 104, 97, 119, 111, 102, 126, 77, 32, 75, 123, 43, 24, 150, 109, 30, 133, 175, 95, 109, 163, 162, 165, 190, 207, 190, 198, 195, 185, 183, 187, 178, 152, 151, 147, 138, 117, 110, 111, 93, 63, 76, 95, 66, 73, 81, 45, 39, 79, 88, 79, 82, 106, 128, 122, 137, 152, 153, 165, 173, 180, 180, 185, 190, 169, 161, 172, 174, 155, 157, 145, 121, 127, 125, 109, 118, 128, 89, 103, 121, 100, 108, 98, 94, 116, 121, 93, 91, 120, 119, 102, 114, 128, 126, 104, 128, 179, 130, 135, 185, 158, 151, 183, 190, };
long duration;
void setup() {
Serial.begin(9600);
pinMode(fullPin, INPUT);
pinMode(bagPin, INPUT);
pinMode(buzzerPin, OUTPUT);
pinMode(ledPin, OUTPUT);
pinMode(ledPin2, OUTPUT);
pinMode(tiltPin, INPUT);
pinMode (echoPin, INPUT);
pinMode (trigPin, OUTPUT);
pinMode (speaker, OUTPUT);
}
void loop() {
val = digitalRead(fullPin); // read input value
if (val == LOW) { // check if the input is HIGH (button released)
} else {
tone(buzzerPin,2000,100); // turn LED ON
}
val = digitalRead(fullPin); // read input value
if (val == LOW) { // check if the input is HIGH (button released)
digitalWrite(ledPin, LOW); // turn LED OFF
} else {
digitalWrite(ledPin, HIGH); // turn LED ON//
}
/////////////////////////////////////////////////////////////////////////////
val2 = analogRead(tiltPin);
Serial.println(val2);
if (val2 <= 950) {
startPlayback(munch, sizeof(munch));
delay(5000);
}
////////////////////////////////////////////////////////////////////////////
val = digitalRead(bagPin); // read input value
if (val == LOW) { // check if the input is LOW (limit switched activated)
digitalWrite(ledPin2, HIGH); // turn LED OFF
} else {
digitalWrite(ledPin2, LOW); // turn LED ON
}
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
//clears the trigPin
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin,LOW);
duration = pulseIn (echoPin, HIGH);
//This gives us distance in cm
distance = duration/58.2;
/////////////////////////////////////////////////////////////////////////////
dangerDistance = distance;
if (dangerDistance <= 2){
tone(buzzerPin, 2000,100);
digitalWrite(ledPin, HIGH);
}
else{
digitalWrite(buzzerPin, LOW);
digitalWrite(ledPin, LOW);
}
tooCloseForComfort = distance;
if (tooCloseForComfort <= 5){
digitalWrite(ledPin, HIGH);
delay(500);
digitalWrite(ledPin, LOW);
delay(500);
}
else{
digitalWrite(ledPin, LOW);
}
delay(50);
}