instruction: Open the Expedia app and find a flight from Delhi to Patna  departing on 22nd Aug 2023 and returning on 28th Aug 2023 for 2 Adult passengers in Economy class, then select the flight of Afternoon .

previous_actions: {"name": "scroll", "parameters": {"direction": "down"}}
{"name": "click", "parameters": {"x": 902, "y": 469}}
{"name": "click", "parameters": {"x": 750, "y": 431}}
{"name": "click", "parameters": {"x": 587, "y": 459}}
{"name": "input_text", "parameters": {"text": "Delhi"}}
{"name": "input_text", "parameters": {"text": "Delhi"}}
{"name": "input_text", "parameters": {"text": "Delhi"}}
{"name": "click", "parameters": {"x": 540, "y": 312}}
{"name": "click", "parameters": {"x": 603, "y": 190}}
{"name": "input_text", "parameters": {"text": "Patna"}}
{"name": "click", "parameters": {"x": 540, "y": 312}}
{"name": "wait", "parameters": {}}
{"name": "click", "parameters": {"x": 382, "y": 1907}}
{"name": "click", "parameters": {"x": 227, "y": 2012}}
{"name": "click", "parameters": {"x": 537, "y": 2264}}

active_application: Flights

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 128
  }
  id: 6
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 50
        right: 1027
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 469
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 469
        top: 1
        right: 587
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 587
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 423
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 423
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 133
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "2:58 pm"
      text: "2:58"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 1
        right: 423
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 1
        right: 986
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 1
        right: 423
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 865
        top: 35
        right: 911
        bottom: 93
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wi-Fi three bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 911
        top: 35
        right: 970
        bottom: 93
      }
      class_name: "android.widget.ImageView"
      content_description: "Hotspot"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 47
        right: 1006
        bottom: 81
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 1
        right: 191
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Gmail notification: 2 new messages"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 191
        top: 1
        right: 249
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Android system notification: 2 unused apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 249
        top: 1
        right: 307
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "YouTube notification: Flute Meditation Music | 1 Hour of Calming Meditation Mantras for Inner Peace |"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 307
        top: 1
        right: 365
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google Play Store notification: Complete setup by installing apps"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 365
        top: 1
        right: 423
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: TAX CONCEPT"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 383
        top: 1
        right: 423
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: Rightsofemployees.com"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 383
        top: 1
        right: 423
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Google notification: 34° in Bandhwari"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 35
        right: 911
        bottom: 93
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 44
        right: 911
        bottom: 83
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 872
        top: 44
        right: 911
        bottom: 83
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 1354
  title: "Flights"
  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: 128
      }
      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 {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 254
      }
      class_name: "android.view.ViewGroup"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 254
        right: 1080
        bottom: 257
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 257
        right: 1080
        bottom: 835
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 21
        top: 2179
        right: 1059
        bottom: 2305
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Done Button"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 126
        bottom: 254
      }
      class_name: "android.widget.LinearLayout"
      is_clickable: true
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 164
        right: 1080
        bottom: 217
      }
      class_name: "android.view.ViewGroup"
      is_focusable: true
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 1080
        top: 128
        right: 1080
        bottom: 254
      }
      class_name: "androidx.appcompat.widget.LinearLayoutCompat"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        top: 257
        right: 1080
        bottom: 835
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 487
        top: 2204
        right: 592
        bottom: 2279
      }
      class_name: "android.view.ViewGroup"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 31
        top: 159
        right: 94
        bottom: 222
      }
      class_name: "android.widget.ImageButton"
      content_description: "Close"
      is_clickable: true
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 126
        top: 164
        right: 1080
        bottom: 217
      }
      class_name: "android.widget.TextView"
      text: "Travellers"
      is_focusable: true
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 299
        right: 1038
        bottom: 352
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 415
        right: 1038
        bottom: 502
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 555
        right: 1038
        bottom: 642
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 695
        right: 1038
        bottom: 782
      }
      class_name: "android.widget.LinearLayout"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 487
        top: 2215
        right: 592
        bottom: 2268
      }
      class_name: "android.widget.TextView"
      text: "Done"
      depth: 13
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 299
        right: 1038
        bottom: 352
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 415
        right: 1038
        bottom: 502
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 555
        right: 1038
        bottom: 642
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 695
        right: 1038
        bottom: 782
      }
      class_name: "android.widget.LinearLayout"
      depth: 14
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 302
        right: 806
        bottom: 349
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 806
        top: 299
        right: 859
        bottom: 352
      }
      class_name: "android.widget.ImageButton"
      content_description: "Decrement number of Adults"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 859
        top: 302
        right: 985
        bottom: 349
      }
      class_name: "android.widget.TextView"
      text: "1"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 299
        right: 1038
        bottom: 352
      }
      class_name: "android.widget.ImageButton"
      content_description: "Increment number of Adults"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 415
        right: 806
        bottom: 502
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 806
        top: 432
        right: 859
        bottom: 485
      }
      class_name: "android.widget.ImageButton"
      content_description: "Decrement number of Youths"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 859
        top: 435
        right: 985
        bottom: 482
      }
      class_name: "android.widget.TextView"
      text: "0"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 432
        right: 1038
        bottom: 485
      }
      class_name: "android.widget.ImageButton"
      content_description: "Increment number of Youths"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 555
        right: 806
        bottom: 642
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 806
        top: 572
        right: 859
        bottom: 625
      }
      class_name: "android.widget.ImageButton"
      content_description: "Decrement number of Children"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 859
        top: 575
        right: 985
        bottom: 622
      }
      class_name: "android.widget.TextView"
      text: "0"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 572
        right: 1038
        bottom: 625
      }
      class_name: "android.widget.ImageButton"
      content_description: "Increment number of Children"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 695
        right: 806
        bottom: 782
      }
      class_name: "android.widget.LinearLayout"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 806
        top: 712
        right: 859
        bottom: 765
      }
      class_name: "android.widget.ImageButton"
      content_description: "Decrement number of Infants"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 859
        top: 715
        right: 985
        bottom: 762
      }
      class_name: "android.widget.TextView"
      text: "0"
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 985
        top: 712
        right: 1038
        bottom: 765
      }
      class_name: "android.widget.ImageButton"
      content_description: "Increment number of Infants"
      is_clickable: true
      is_focusable: true
      depth: 15
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 302
        right: 151
        bottom: 349
      }
      class_name: "android.widget.TextView"
      text: "Adults"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 415
        right: 157
        bottom: 462
      }
      class_name: "android.widget.TextView"
      text: "Youths"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 462
        right: 199
        bottom: 502
      }
      class_name: "android.widget.TextView"
      text: "(Age 12–17)"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 555
        right: 185
        bottom: 602
      }
      class_name: "android.widget.TextView"
      text: "Children"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 602
        right: 183
        bottom: 642
      }
      class_name: "android.widget.TextView"
      text: "(Age 2–11)"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 695
        right: 158
        bottom: 742
      }
      class_name: "android.widget.TextView"
      text: "Infants"
      depth: 16
    }
    nodes {
      bounds_in_screen {
        left: 42
        top: 742
        right: 178
        bottom: 782
      }
      class_name: "android.widget.TextView"
      text: "(Under 2)"
      depth: 16
    }
  }
}


assistant: !FUNCTIONCALL{"name": "click", "parameters": {"x": 1011, "y": 325}}