instruction: Open the Khan academy app and start the assignment on Polynomial arithmetic in algebra 2 

previous_actions: {"name": "open_app", "parameters": {"app_name": "Khan Academy"}}
{"name": "click", "parameters": {"x": 602, "y": 1642}}
{"name": "click", "parameters": {"x": 602, "y": 807}}

active_application: 

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 145
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 575
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 247
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "11:54 AM"
      text: "11:54"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi signal full."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 51
        right: 1006
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 247
        top: 1
        right: 305
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 32°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 305
        top: 1
        right: 363
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Mondly Languages notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 363
        top: 1
        right: 421
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "MakeMyTrip notification: This Calls for a Sale-ebration"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 421
        top: 1
        right: 479
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Artsy notification: See new works by artists you follow"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 479
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "ixigo trains notification: Last day! IndiGo Sale⏳"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "Plant Lens notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 497
        top: 1
        right: 537
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "PlantApp notification: 4 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 21
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 283
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 136
        right: 1038
        bottom: 282
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2179
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 1507
        right: 1080
        bottom: 2179
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2200
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        top: 2200
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.Button"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 178
        right: 131
        bottom: 241
      }
      class_name: "android.widget.Button"
      content_description: "Back"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 183
        right: 1006
        bottom: 236
      }
      class_name: "android.widget.TextView"
      text: "Polynomials intro"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 1038
        top: 209
        right: 1038
        bottom: 209
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2179
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 933
        top: 2032
        right: 1038
        bottom: 2137
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 2179
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 2308
        right: 1080
        bottom: 2308
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 2620
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2179
      }
      class_name: "android.webkit.WebView"
      is_clickable: true
      is_focusable: true
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 1878
        right: 457
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 728
        top: 1959
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 762
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2200
        right: 1038
        bottom: 2305
      }
      class_name: "android.view.ViewGroup"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 178
        right: 105
        bottom: 241
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 1627
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 1627
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 954
        top: 2053
        right: 1017
        bottom: 2116
      }
      class_name: "android.widget.ImageView"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 2179
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        top: 283
        right: 1080
        bottom: 762
      }
      class_name: "android.view.ViewGroup"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 470
        top: 2226
        right: 611
        bottom: 2279
      }
      class_name: "android.widget.TextView"
      text: "Let\'s go"
      depth: 17
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2227
        right: 105
        bottom: 2290
      }
      class_name: "android.widget.Button"
      content_description: "Toggle scratchpad"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 2227
        right: 210
        bottom: 2290
      }
      class_name: "android.widget.Button"
      content_description: "Start over"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 252
        top: 2235
        right: 490
        bottom: 2283
      }
      class_name: "android.widget.TextView"
      text: "Do 4 problems"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 668
        top: 2206
        right: 1038
        bottom: 2311
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 409
        right: 996
        bottom: 493
      }
      class_name: "android.widget.TextView"
      text: "Ready to practice?"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 535
        right: 996
        bottom: 593
      }
      class_name: "android.widget.TextView"
      text: "Okay, show us what you can do!"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 84
        top: 677
        right: 996
        bottom: 730
      }
      class_name: "android.widget.TextView"
      text: "4 questions"
      depth: 18
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 2227
        right: 105
        bottom: 2290
      }
      class_name: "android.widget.ImageView"
      content_description: "Scratchpad"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 147
        top: 2227
        right: 210
        bottom: 2290
      }
      class_name: "android.widget.ImageView"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 668
        top: 2206
        right: 1038
        bottom: 2311
      }
      class_name: "android.view.ViewGroup"
      depth: 19
    }
    nodes {
      bounds_in_screen {
        left: 689
        top: 2232
        right: 1017
        bottom: 2285
      }
      class_name: "android.widget.TextView"
      text: "Check"
      depth: 20
    }
  }
}


assistant: !FUNCTIONCALL{"name": "click", "parameters": {"x": 540, "y": 2252}}